[][src]Trait rusticata_macros::Serialize

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

Common trait for structures serialization

Associated Types

type Error

Type of serialization error

Loading content...

Required methods

fn serialize(&self) -> Result<O, Self::Error>

Try to serialize object

Loading content...

Implementors

Loading content...