Trait open_protocol::types::FromBytes [] [src]

pub trait FromBytes: Sized {
    fn read_bytes(bytes: &mut Cursor<&[u8]>) -> Result<Self>;

    fn from_bytes(bytes: &[u8]) -> Result<Self> { ... }
}

Required Methods

Provided Methods

Implementors