pub trait Archivable: 'static {
    fn ser_de<A: Archive>(&mut self, ar: &mut A) -> Result<()>;

    fn ser_de_len(&mut self) -> u64 { ... }
    fn ser<A: Archive>(&self, ar: &mut A) -> Result<()>
    where
        Self: Clone
, { ... } fn ser_len(&self) -> u64
    where
        Self: Clone
, { ... } fn de<A: Archive>(ar: &mut A) -> Result<Self>
    where
        Self: Default
, { ... } }
Expand description

A data structure that can be archived (encoded/decoded)

Required Methods

Provided Methods

Implementations on Foreign Types

Implementors