pub trait Serializable {
    fn serialize(_: &Self) -> Vec<u8>;
}

Required Methods

Implementations on Foreign Types

Implementation of generic type in Vec. The serialization scheme follows Length-Value pattern.

Implementors