Trait IntoBytes

Source
pub trait IntoBytes {
    // Required method
    fn into_bytes(self) -> Bytes
       where Self: Sized;
}

Required Methods§

Source

fn into_bytes(self) -> Bytes
where Self: Sized,

Implementations on Foreign Types§

Source§

impl IntoBytes for &[u8]

Source§

impl IntoBytes for Vec<u8>

Source§

impl IntoBytes for Bytes

Implementors§