pub trait EncodableInHeader: Send + Sync + Any + Debug {
    fn encode(
        &self,
        encoder: &mut EncodingWriter<'_>
    ) -> Result<(), EncodingError>; fn boxed_clone(&self) -> Box<dyn EncodableInHeader>; }
Expand description

Trait Implemented by “components” used in header field bodies

This trait can be turned into a trait object allowing runtime genericallity over the “components” if needed.

Required Methods

Implementations

Trait Implementations

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more

Implementors