pub trait DecodeAtom: Sized {
// Required method
fn decode_atom(header: &Header, buf: &mut Bytes) -> Result<Self>;
}Expand description
Decode an atom using the provided header
Required Methods§
fn decode_atom(header: &Header, buf: &mut Bytes) -> Result<Self>
Object Safety§
This trait is not object safe.