Skip to main content

Unmarshal

Trait Unmarshal 

Source
pub trait Unmarshal: MarshalSize {
    // Required method
    fn unmarshal<B>(buf: &mut B) -> Result<Self>
       where Self: Sized,
             B: Buf;
}

Required Methods§

Source

fn unmarshal<B>(buf: &mut B) -> Result<Self>
where Self: Sized, B: Buf,

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§