Trait load_buffer::Load
source · pub trait Load {
type Error;
// Required method
fn load(&mut self, destination: &mut [u8]) -> Result<(), Self::Error>;
}
Expand description
Like std::io::Read
, but only supporting read_exact
, and with an
arbitrary error type.