pub trait DeserializeFrom<T: BinarySerializable> {
    fn deserialize(&mut self) -> Result<T>;
}

Required Methods

Implementations on Foreign Types

Implement deserialize from &u8 for all types which implement BinarySerializable.

TryFrom would actually be preferrable, but not possible because of the orphan rules (not completely sure if this could be resolved)

Implementors