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