Trait io_at::ReadAt
[−]
[src]
pub trait ReadAt { fn read_at(&self, buf: &mut [u8], offs: u64) -> Result<usize>; }
Read data at an offset
Note that compared to Read::read, ReadAt::read_at does not borrow T mutably as it does not need to modify an internal cursor.
Required Methods
Implementors
impl<S: AsRaw> ReadAt for IoAtRaw<S>
impl ReadAt for File
impl ReadAt for [u8]
impl<'a> ReadAt for Vec<u8>
impl<'a, T: ReadAt + ?Sized> ReadAt for &'a mut T
impl<'a, T: ReadAt + ?Sized> ReadAt for &'a T
impl<T: ReadAt> ReadAt for Take<T>
impl<T: WriteAt + ReadAt> ReadAt for BlockLimitWrite<T>
impl<T: Seek + Read> ReadAt for LockedSeek<T>
impl<T: ReadAt> ReadAt for At<T>