pub trait WriteArgumentValue<B>: Sealed {
// Required method
fn write_value(
&self,
header: &mut Header,
encoder: &mut Encoder<B>,
) -> Result<(), EncodingError>;
}
Expand description
Trait implemented by types which can be written to the encoder.
Required Methods§
Sourcefn write_value(
&self,
header: &mut Header,
encoder: &mut Encoder<B>,
) -> Result<(), EncodingError>
fn write_value( &self, header: &mut Header, encoder: &mut Encoder<B>, ) -> Result<(), EncodingError>
Writes the value of the argument.