Trait Read

Source
pub trait Read {
    // Required method
    fn read(&mut self, buf: &mut [u8]) -> Option<usize>;
}
Expand description

Trait which all data sources must implement. In a std environment, there is a blanket impl of edid_rs::Read for std::io::Read.

Required Methods§

Source

fn read(&mut self, buf: &mut [u8]) -> Option<usize>

Implementors§

Source§

impl<T: Read> Read for T