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