pub trait Packable {
// Required method
fn pack<T>(&self, buf: &mut T) -> usize
where T: Extend<u8>;
}Expand description
A packable type.
pub trait Packable {
// Required method
fn pack<T>(&self, buf: &mut T) -> usize
where T: Extend<u8>;
}A packable type.