Enum drawbridge::jose::jwk::Operations
source · #[non_exhaustive]pub enum Operations {
Decrypt,
DeriveBits,
DeriveKey,
Encrypt,
Sign,
UnwrapKey,
Verify,
WrapKey,
}
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
source§impl Clone for Operations
impl Clone for Operations
source§fn clone(&self) -> Operations
fn clone(&self) -> Operations
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 Debug for Operations
impl Debug for Operations
source§impl<'de> Deserialize<'de> for Operations
impl<'de> Deserialize<'de> for Operations
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<Operations, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<Operations, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Ord for Operations
impl Ord for Operations
source§fn cmp(&self, other: &Operations) -> Ordering
fn cmp(&self, other: &Operations) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for Operations
impl PartialEq for Operations
source§fn eq(&self, other: &Operations) -> bool
fn eq(&self, other: &Operations) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for Operations
impl PartialOrd for Operations
source§fn partial_cmp(&self, other: &Operations) -> Option<Ordering>
fn partial_cmp(&self, other: &Operations) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl Serialize for Operations
impl Serialize for Operations
source§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Copy for Operations
impl Eq for Operations
impl StructuralPartialEq for Operations
Auto Trait Implementations§
impl Freeze for Operations
impl RefUnwindSafe for Operations
impl Send for Operations
impl Sync for Operations
impl Unpin for Operations
impl UnwindSafe for Operations
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