Trait Read
Other items incoreplus::io
pub trait Read { type Error; fn read(&mut self, buf: &mut [u8]) -> Result<usize, Self::Error>; }
Read bytes.
When the std feature is enabled (by default), this trait is automatically implemented for any type that implemented std::io::Read.
std
std::io::Read
type Error
fn read(&mut self, buf: &mut [u8]) -> Result<usize, Self::Error>
impl Read for &[u8]
type Error = Infallible
impl<T: Read> Read for CoreIO<T>