pub trait ReadByteable: Read {
// Provided method
fn read_one<T: Byteable>(&mut self) -> Result<T> { ... }
}Expand description
Extends std::io::Read with a method to read a Byteable type.
Provided Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.
Implementors§
impl<T: Read> ReadByteable for T
Implements ReadByteable for all types that implement std::io::Read.