Struct qcow2::Reader
[−]
[src]
pub struct Reader<'a, I: 'a + ReadAt> { /* fields omitted */ }
A reader of data from the virtual disk image.
Trait Implementations
impl<'a, I> ReadAt for Reader<'a, I> where
I: 'a + ReadAt,
[src]
I: 'a + ReadAt,
fn read_at(&self, pos: u64, buf: &mut [u8]) -> Result<usize>
Read bytes from an offset in this source into a buffer, returning how many bytes were read. Read more
fn read_exact_at(&self, pos: u64, buf: &mut [u8]) -> Result<(), Error>
Read the exact number of bytes required to fill buf
, from an offset. Read more
impl<'a, I> Size for Reader<'a, I> where
I: 'a + ReadAt,
[src]
I: 'a + ReadAt,