Trait tl::AsBytes[][src]

pub trait AsBytes {
    fn as_bytes(&self) -> Bytes<'_>;
}
Expand description

A trait for converting a type into Bytes

Required methods

Converts self to Bytes

Implementations on Foreign Types

Implementors