Trait ToBytes

Source
pub trait ToBytes {
    // Required method
    fn to_bytes(self) -> Bytes;
}

Required Methods§

Source

fn to_bytes(self) -> Bytes

Implementations on Foreign Types§

Source§

impl ToBytes for isize

Source§

impl ToBytes for usize

Source§

impl<T> ToBytes for *const T

Source§

impl<T> ToBytes for *mut T

Source§

impl<T: ToComplexDataBytes + Default> ToBytes for Option<AsIs<T>>

Source§

impl<T: ToSimpleDataBytes> ToBytes for Option<T>

Implementors§