pub enum PemLabel {
PrivateKey,
EcPrivateKey,
PublicKey,
}Expand description
Supported PEM labels.
Variants§
PrivateKey
PKCS#8 private key material.
EcPrivateKey
SEC1 elliptic-curve private key material.
PublicKey
SubjectPublicKeyInfo public key material.
Implementations§
Trait Implementations§
impl Copy for PemLabel
impl Eq for PemLabel
impl StructuralPartialEq for PemLabel
Auto Trait Implementations§
impl Freeze for PemLabel
impl RefUnwindSafe for PemLabel
impl Send for PemLabel
impl Sync for PemLabel
impl Unpin for PemLabel
impl UnsafeUnpin for PemLabel
impl UnwindSafe for PemLabel
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more