Trait Packing
libknox
pub trait Packing { fn pack(&self) -> Result<Vec<u8>, Box<dyn Error>>; }
Trait for message serialization
fn pack(&self) -> Result<Vec<u8>, Box<dyn Error>>
impl<M> Packing for M where M: Message,