[][src]Trait uapi::Bytes

pub trait Bytes {
    fn bytes(&self) -> &[u8];
}

Trait for objects which can be turned into bytes

This is mostly an internal API.

Required methods

fn bytes(&self) -> &[u8]

Loading content...

Implementations on Foreign Types

impl<'a> Bytes for Cow<'a, Ustr>[src]

impl Bytes for [u8][src]

impl Bytes for str[src]

impl Bytes for CStr[src]

impl Bytes for OsStr[src]

impl Bytes for Path[src]

Loading content...

Implementors

impl Bytes for Bstr[src]

Loading content...