pub trait EncodePem: Encode + PemLabel {
// Required method
fn to_pem(&self, line_ending: LineEnding) -> Result<String, Error>;
}
Available on crate features
pkcs8
and pem
only.Expand description
Required 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.