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