Trait ToBytes

Source
pub trait ToBytes {
    // Required method
    fn to_bytes(self) -> Vec<u8> ;
}
Expand description

Trait to facilitate conversion of various bussin types to raw bytes

Required Methods§

Source

fn to_bytes(self) -> Vec<u8>

Convert to bytes

Implementors§