pub trait Deserializable {
    fn from_bytes(bytes: &[u8]) -> Result<Self, Error>;
}
Expand description

Describe the ability to deserialize the type from sets of bytes.

Required methods

Deserialization from variable length slices of bytes.

Implementors