Trait photonio_base::io::Read
source · [−]pub trait Read {
type Read<'a>: Future<Output = Result<usize>> + 'a
where
Self: 'a;
fn read<'a>(&'a mut self, buf: &'a mut [u8]) -> Self::Read<'a>;
}
Expand description
Reads some bytes from an object.