pub trait EncodePem: Encode + PemLabel {
    // Required method
    fn to_pem(&self, line_ending: LineEnding) -> Result<String>;
}Expand description
Required Methods§
sourcefn to_pem(&self, line_ending: LineEnding) -> Result<String>
 
fn to_pem(&self, line_ending: LineEnding) -> Result<String>
Try to encode this type as PEM.
Object Safety§
This trait is not object safe.