Trait sherwood::FromBytes [-] [+] [src]

pub trait FromBytes {
    fn from_bytes(bytes: &[u8]) -> Option<Self>;
}

Trait to convert value from a byte slice to a corresponding type

Required Methods

fn from_bytes(bytes: &[u8]) -> Option<Self>

Implementors