pub enum KeyOperation {
Sign,
Verify,
Decrypt,
Encrypt,
}
Variants§
Trait Implementations§
Source§impl Clone for KeyOperation
impl Clone for KeyOperation
Source§fn clone(&self) -> KeyOperation
fn clone(&self) -> KeyOperation
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 Debug for KeyOperation
impl Debug for KeyOperation
Source§impl<'de> Deserialize<'de> for KeyOperation
impl<'de> Deserialize<'de> for KeyOperation
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Hash for KeyOperation
impl Hash for KeyOperation
Source§impl Ord for KeyOperation
impl Ord for KeyOperation
Source§fn cmp(&self, other: &KeyOperation) -> Ordering
fn cmp(&self, other: &KeyOperation) -> 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 KeyOperation
impl PartialEq for KeyOperation
Source§impl PartialOrd for KeyOperation
impl PartialOrd for KeyOperation
Source§impl Serialize for KeyOperation
impl Serialize for KeyOperation
impl Eq for KeyOperation
impl StructuralPartialEq for KeyOperation
Auto Trait Implementations§
impl Freeze for KeyOperation
impl RefUnwindSafe for KeyOperation
impl Send for KeyOperation
impl Sync for KeyOperation
impl Unpin for KeyOperation
impl UnwindSafe for KeyOperation
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