pub trait FromBytes: Sized {
    type Error: Error;

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

From bytes.

Required Associated Types

Error.

Required Methods

From bytes.

Implementors