pub trait BinaryRead: Sized {
// Required method
fn read_from<R: Read>(reader: &mut R) -> Result<Self>;
}Expand description
Trait for types that can be read from binary format
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".