pub enum KeyEncodingFormat {
Pem,
Der,
Jwk,
}Expand description
Setting encoding format for export PublicKey and PrivateKey
Variants§
Trait Implementations§
Source§impl Clone for KeyEncodingFormat
impl Clone for KeyEncodingFormat
Source§fn clone(&self) -> KeyEncodingFormat
fn clone(&self) -> KeyEncodingFormat
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 KeyEncodingFormat
impl Eq for KeyEncodingFormat
Source§impl PartialEq for KeyEncodingFormat
impl PartialEq for KeyEncodingFormat
Source§fn eq(&self, other: &KeyEncodingFormat) -> bool
fn eq(&self, other: &KeyEncodingFormat) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for KeyEncodingFormat
Auto Trait Implementations§
impl Freeze for KeyEncodingFormat
impl RefUnwindSafe for KeyEncodingFormat
impl Send for KeyEncodingFormat
impl Sync for KeyEncodingFormat
impl Unpin for KeyEncodingFormat
impl UnsafeUnpin for KeyEncodingFormat
impl UnwindSafe for KeyEncodingFormat
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