pub enum AeadKey {
AesGcm256 {
key: [u8; 32],
iv: [u8; 16],
},
}
Variants§
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for AeadKey
impl<'de> Deserialize<'de> for AeadKey
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<'_enum> From<&'_enum AeadKey> for AeadKeyKind
impl<'_enum> From<&'_enum AeadKey> for AeadKeyKind
source§fn from(val: &'_enum AeadKey) -> AeadKeyKind
fn from(val: &'_enum AeadKey) -> AeadKeyKind
Converts to this type from the input type.
source§impl From<AeadKey> for AeadKeyKind
impl From<AeadKey> for AeadKeyKind
source§fn from(val: AeadKey) -> AeadKeyKind
fn from(val: AeadKey) -> AeadKeyKind
Converts to this type from the input type.
source§impl PartialEq<AeadKey> for AeadKey
impl PartialEq<AeadKey> for AeadKey
impl Eq for AeadKey
impl StructuralEq for AeadKey
impl StructuralPartialEq for AeadKey
impl ZeroizeOnDrop for AeadKey
Auto Trait Implementations§
impl RefUnwindSafe for AeadKey
impl Send for AeadKey
impl Sync for AeadKey
impl Unpin for AeadKey
impl UnwindSafe for AeadKey
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