#[non_exhaustive]pub enum KeyWrapAlgorithm {
Aes128Kw,
Aes192Kw,
Aes256Kw,
}Expand description
Key-wrapping algorithm identifier.
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.
Aes128Kw
AES-128 Key Wrap as specified by RFC 3394 / NIST SP 800-38F.
Aes192Kw
AES-192 Key Wrap as specified by RFC 3394 / NIST SP 800-38F.
Aes256Kw
AES-256 Key Wrap as specified by RFC 3394 / NIST SP 800-38F.
Trait Implementations§
Source§impl Clone for KeyWrapAlgorithm
impl Clone for KeyWrapAlgorithm
Source§fn clone(&self) -> KeyWrapAlgorithm
fn clone(&self) -> KeyWrapAlgorithm
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 KeyWrapAlgorithm
Source§impl Debug for KeyWrapAlgorithm
impl Debug for KeyWrapAlgorithm
Source§impl Display for KeyWrapAlgorithm
impl Display for KeyWrapAlgorithm
impl Eq for KeyWrapAlgorithm
Source§impl PartialEq for KeyWrapAlgorithm
impl PartialEq for KeyWrapAlgorithm
impl StructuralPartialEq for KeyWrapAlgorithm
Auto Trait Implementations§
impl Freeze for KeyWrapAlgorithm
impl RefUnwindSafe for KeyWrapAlgorithm
impl Send for KeyWrapAlgorithm
impl Sync for KeyWrapAlgorithm
impl Unpin for KeyWrapAlgorithm
impl UnsafeUnpin for KeyWrapAlgorithm
impl UnwindSafe for KeyWrapAlgorithm
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