Trait ddc::Edid
[−]
[src]
pub trait Edid { type EdidError; fn read_edid(
&mut self,
offset: u8,
data: &mut [u8]
) -> Result<usize, Self::EdidError>; }
A trait that allows retrieving Extended Display Identification Data (EDID) from a device.
Associated Types
type EdidError
An error that can occur when reading the EDID from a device.
Required Methods
fn read_edid(
&mut self,
offset: u8,
data: &mut [u8]
) -> Result<usize, Self::EdidError>
&mut self,
offset: u8,
data: &mut [u8]
) -> Result<usize, Self::EdidError>
Read up to 256 bytes of the monitor's EDID.