Trait odoh_rs::Deserialize

source ·
pub trait Deserialize {
    // Required method
    fn deserialize<B: Buf>(buf: &mut B) -> Result<Self, Error>
       where Self: Sized;
}
Expand description

Deserialize from IETF wireformat that is similar to XDR

Required Methods§

source

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

Deserialize a struct from the buf.

Implementors§