Trait photonio_base::io::ReadAt
source · pub trait ReadAt {
type ReadAt<'a>: Future<Output = Result<usize>> + 'a
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.