Trait canonical::EncodeToVec[][src]

pub trait EncodeToVec {
    fn encode_to_vec(&self) -> Vec<u8>;
}

Helper trait to encode Canon types into byte vectors.

Required methods

fn encode_to_vec(&self) -> Vec<u8>[src]

Encode Self into a buffer

Loading content...

Implementors

impl<T> EncodeToVec for T where
    T: Canon
[src]

Loading content...