BytesExt

Trait BytesExt 

Source
pub trait BytesExt {
    // Required method
    fn to_bytes(&self) -> Vec<u8> ;
}

Required Methods§

Source

fn to_bytes(&self) -> Vec<u8>

Implementations on Foreign Types§

Source§

impl<T: Bytes> BytesExt for [T]

Source§

fn to_bytes(&self) -> Vec<u8>

Implementors§