pub trait EncodeValue {
// Required methods
fn value_len(&self) -> Result<Length, Error>;
fn encode_value(&self, encoder: &mut impl Writer) -> Result<(), Error>;
// Provided method
fn header(&self) -> Result<Header, Error>
where Self: Tagged { ... }
}
Available on crate feature
pkcs8
only.Expand description
Encode the value part of a Tag-Length-Value encoded field, sans the [Tag
]
and Length
.
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.