pub trait ReadAtExt {
    type ReadExactAt<'a>: 'a + Future<Output = Result<(), Error>>
    where
        Self: 'a
; fn read_exact_at<'a>(
        &'a self,
        buf: &'a mut [u8],
        pos: u64
    ) -> Self::ReadExactAt<'a>; }
Expand description

Provides extension methods for ReadAt.

Required Associated Types

A future that resolves to the result of Self::read_exact_at.

Required Methods

Reads the exact number of bytes from this object at pos to fill buf.

Implementors