Trait Deserializable

Source
pub trait Deserializable {
    // Required method
    fn deserialize(bytes: &[u8]) -> Result<Self, DeserializationError>
       where Self: Sized;
}
Expand description

Deserialize function without args

Required Methods§

Source

fn deserialize(bytes: &[u8]) -> Result<Self, DeserializationError>
where Self: Sized,

Implementors§