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 copy 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
source§fn eq(&self, other: &PrivateKeyEncodingType) -> bool
fn eq(&self, other: &PrivateKeyEncodingType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for PrivateKeyEncodingType
impl Eq for PrivateKeyEncodingType
impl StructuralEq for PrivateKeyEncodingType
impl StructuralPartialEq for PrivateKeyEncodingType
Auto Trait Implementations§
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