[][src]Trait kompact::Serialiser

pub trait Serialiser<T>: Send {
    fn serid(&self) -> u64;
fn serialise(&self, v: &T, buf: &mut dyn BufMut) -> Result<(), SerError>; fn size_hint(&self) -> Option<usize> { ... } }

Required methods

fn serid(&self) -> u64

fn serialise(&self, v: &T, buf: &mut dyn BufMut) -> Result<(), SerError>

Loading content...

Provided methods

fn size_hint(&self) -> Option<usize>

Loading content...

Implementors

Loading content...