Trait dove::types::Encoder[][src]

pub trait Encoder {
    fn encode(&self, writer: &mut dyn Write) -> Result<TypeCode>;
}
Expand description

Encoder trait that all types that can be serialized to an AMQP type must implement.

Required methods

Implementations on Foreign Types

Encoders for native rust types.

Implementors