Trait bytes::str::ToBytes [] [src]

pub trait ToBytes {
    fn to_bytes(self) -> Bytes;
}

Required Methods

Consumes the value and returns a Bytes instance containing identical bytes

Implementors