Trait ReadAt
pub trait ReadAt {
type Error: Error + 'static;
// Required methods
fn read_exact_at(
&self,
offset: u64,
buf: &mut [u8],
) -> Result<(), Self::Error>;
fn size(&self) -> Result<u64, Self::Error>;
}Expand description
Source that reads bytes at an offset.
Required Associated Types§
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".