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 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl PartialEq for PrivateKeyEncodingType
impl PartialEq for PrivateKeyEncodingType
impl Copy for PrivateKeyEncodingType
impl Eq for PrivateKeyEncodingType
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 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