Trait rmw_bytes::Bytes[][src]

pub trait Bytes {
    fn to_bytes(&self) -> Box<[u8]>;
fn from_bytes(buf: &[u8]) -> Result<Self>
    where
        Self: Sized
; }

Required methods

Implementations on Foreign Types

Implementors