#[non_exhaustive]pub enum WrappingMethod {
Encrypt,
MACSign,
EncryptThenMACSign,
MACSignThenEncrypt,
TR31,
}
Expand description
See KMIP 1.0 section 9.1.3.2.4 Wrapping Method Enumeration.
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 WrappingMethod
impl Clone for WrappingMethod
Source§fn clone(&self) -> WrappingMethod
fn clone(&self) -> WrappingMethod
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 WrappingMethod
impl Debug for WrappingMethod
Source§impl Display for WrappingMethod
impl Display for WrappingMethod
Source§impl PartialEq for WrappingMethod
impl PartialEq for WrappingMethod
Source§impl Serialize for WrappingMethod
impl Serialize for WrappingMethod
impl Copy for WrappingMethod
impl Eq for WrappingMethod
impl StructuralPartialEq for WrappingMethod
Auto Trait Implementations§
impl Freeze for WrappingMethod
impl RefUnwindSafe for WrappingMethod
impl Send for WrappingMethod
impl Sync for WrappingMethod
impl Unpin for WrappingMethod
impl UnwindSafe for WrappingMethod
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