pub trait SizeSettings: EndianSettings {
const SIZE: Size;
// Provided methods
fn size_to_stream<W: Write>(size: usize, stream: &mut W) -> Result<()> { ... }
fn size_from_stream<R: Read>(stream: &mut R) -> Result<usize> { ... }
}Expand description
The size settings required for reading and writing collections.
Required Associated Constants§
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.