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

Deserialize function without args Used along with the Serializable trait

Required Methods§

source

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

Implementors§