pub trait Unmarshal: MarshalSize {
// Required method
fn unmarshal<B>(buf: &mut B) -> Result<Self>
where Self: Sized,
B: Buf;
}Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".