#[repr(u8)]pub enum Algorithm {
Aes128Ccm,
Aes192Ccm,
Aes256Ccm,
}
Expand description
Valid algorithms for “wrap” (symmetric encryption/key wrapping) keys
Variants§
Aes128Ccm
AES-128 in Counter with CBC-MAC (CCM) mode
Aes192Ccm
AES-192 in Counter with CBC-MAC (CCM) mode
Aes256Ccm
AES-256 in Counter with CBC-MAC (CCM) mode
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Algorithm
impl<'de> Deserialize<'de> for Algorithm
source§fn deserialize<D: Deserializer<'de>>(
deserializer: D
) -> Result<Algorithm, D::Error>
fn deserialize<D: Deserializer<'de>>( deserializer: D ) -> Result<Algorithm, D::Error>
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq<Algorithm> for Algorithm
impl PartialEq<Algorithm> for Algorithm
impl Copy for Algorithm
impl Eq for Algorithm
impl StructuralEq for Algorithm
impl StructuralPartialEq for Algorithm
Auto Trait Implementations§
impl RefUnwindSafe for Algorithm
impl Send for Algorithm
impl Sync for Algorithm
impl Unpin for Algorithm
impl UnwindSafe for Algorithm
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