Trait rusticata_macros::Serialize[][src]

pub trait Serialize<O = Vec<u8>> {
    type Error;
    fn serialize(&self) -> Result<O, Self::Error>;
}
Expand description

Common trait for structures serialization

Associated Types

Type of serialization error

Required methods

Try to serialize object

Implementors