Enum crypto_wasi::KeyEncodingFormat
source · 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 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 KeyEncodingFormat
impl PartialEq for KeyEncodingFormat
source§fn eq(&self, other: &KeyEncodingFormat) -> bool
fn eq(&self, other: &KeyEncodingFormat) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for KeyEncodingFormat
impl Eq for KeyEncodingFormat
impl StructuralEq for KeyEncodingFormat
impl StructuralPartialEq for KeyEncodingFormat
Auto Trait Implementations§
impl RefUnwindSafe for KeyEncodingFormat
impl Send for KeyEncodingFormat
impl Sync for KeyEncodingFormat
impl Unpin 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