Trait as_with_bytes::AsBytes [] [src]

pub trait AsBytes {
    fn as_bytes(&self) -> &[u8];
}

A trait used for converting into bytes.

Required Methods

Returns a byte slice representation of self.

Implementors