DecodeAtom

Trait DecodeAtom 

Source
pub trait DecodeAtom: Sized {
    // Required method
    fn decode_atom<B: Buf>(header: &Header, buf: &mut B) -> Result<Self>;
}
Expand description

Decode an atom using the provided header

Required Methods§

Source

fn decode_atom<B: Buf>(header: &Header, buf: &mut B) -> Result<Self>

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§