Trait bytes::str::ToBytes  
                   
                       [−]
                   
               [src]
pub trait ToBytes {
    fn to_bytes(self) -> Bytes;
}
            Required Methods
fn to_bytes(self) -> Bytes
Consumes the value and returns a Bytes instance containing
identical bytes