pub trait Encoder { typeMessage<'a>; // Required method fnencode(&self, message: &Self::Message<'_>) ->Encodedⓘ;}
Expand description
Encoder.
Implemented for types that know how to encode a specific IMAP message. Seeimplementors.
Required Associated Types§
Required Methods§
Dyn Compatibility§
This trait isnotdyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.