pub trait EncodeValue {
// Required methods
fn value_len(&self) -> Result<Length>;
fn encode_value(&self, encoder: &mut impl Writer) -> Result<()>;
// Provided method
fn header(&self) -> Result<Header>
where Self: Tagged { ... }
}
Expand description
Required Methods§
Provided Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.