wiwi::serialiser::binary

Trait Deserialise

Source
pub trait Deserialise<'h>: Sized {
    type Error: Error + From<Error>;

    // Required method
    fn deserialise<I>(input: I) -> Result<Self, Self::Error>
       where I: Input<'h>;
}

Required Associated Types§

Required Methods§

Source

fn deserialise<I>(input: I) -> Result<Self, Self::Error>
where I: Input<'h>,

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§