pub trait Serialize<M>where
    M: Message,{
    // Required method
    fn serialize(&self) -> Result<M, Error>;
}
Expand description

Represents a type that can be serialized as a message.

Required Methods§

source

fn serialize(&self) -> Result<M, Error>

Serializes as a message.

Implementations on Foreign Types§

source§

impl Serialize<Uuid> for Uuid

Implementors§