pub trait DecodeExt<'a>: Decode<'a> {
    // Provided method
    fn decode_iter(buff: &'a [u8]) -> DecodeIter<'a, Self::Output> ⓘ { ... }
}Expand description
Extensions to Decode trait for decodable objects
Provided Methods§
Sourcefn decode_iter(buff: &'a [u8]) -> DecodeIter<'a, Self::Output> ⓘ
 
fn decode_iter(buff: &'a [u8]) -> DecodeIter<'a, Self::Output> ⓘ
Helper to iterate over decodable objects in a sized buffer.
Note that objects must be -internally- sized as this is a greedy operation
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.