pub trait AsBytes<'a> {
    fn bytes<const FORMAT: u128>(&'a self) -> Bytes<'a, FORMAT>;
}
Expand description

Trait to simplify creation of a Bytes object.

Required Methods

Create Bytes from object.

Implementations on Foreign Types

Implementors