ReadFixedSizeDep

Trait ReadFixedSizeDep 

Source
pub trait ReadFixedSizeDep: ReadBinaryDep {
    // Required method
    fn size(args: Self::Args<'_>) -> usize;
}

Required Methods§

Source

fn size(args: Self::Args<'_>) -> usize

The number of bytes consumed by ReadBinaryDep::read.

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§