pub trait EncodePem: Encode + PemLabel { // Required method fn to_pem(&self, line_ending: LineEnding) -> Result<String>; }
pem
PEM encoding trait.
This trait is automatically impl’d for any type which impls both Encode and PemLabel.
Encode
PemLabel
Try to encode this type as PEM.