pub enum PrivateKeyEncodingType {
Pkcs8,
Pkcs1,
Sec1,
}Expand description
Setting encoding type for export PrivateKey
Variants§
Trait Implementations§
Source§impl Clone for PrivateKeyEncodingType
impl Clone for PrivateKeyEncodingType
Source§fn clone(&self) -> PrivateKeyEncodingType
fn clone(&self) -> PrivateKeyEncodingType
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for PrivateKeyEncodingType
impl Eq for PrivateKeyEncodingType
Source§impl PartialEq for PrivateKeyEncodingType
impl PartialEq for PrivateKeyEncodingType
Source§fn eq(&self, other: &PrivateKeyEncodingType) -> bool
fn eq(&self, other: &PrivateKeyEncodingType) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PrivateKeyEncodingType
Auto Trait Implementations§
impl Freeze for PrivateKeyEncodingType
impl RefUnwindSafe for PrivateKeyEncodingType
impl Send for PrivateKeyEncodingType
impl Sync for PrivateKeyEncodingType
impl Unpin for PrivateKeyEncodingType
impl UnsafeUnpin for PrivateKeyEncodingType
impl UnwindSafe for PrivateKeyEncodingType
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