pub enum Encryption {
None,
Aes256Gcm {
key: [u8; 32],
},
}Expand description
Complete encryption parameters stored in trusted external metadata.
Variants§
None
No authentication or encryption.
Aes256Gcm
AES-256-GCM with a 96-bit frame-index nonce and a 16-byte suffix tag.
Implementations§
Trait Implementations§
Source§impl Clone for Encryption
impl Clone for Encryption
Source§impl Debug for Encryption
impl Debug for Encryption
impl Eq for Encryption
Source§impl PartialEq for Encryption
impl PartialEq for Encryption
impl StructuralPartialEq for Encryption
Auto Trait Implementations§
impl Freeze for Encryption
impl RefUnwindSafe for Encryption
impl Send for Encryption
impl Sync for Encryption
impl Unpin for Encryption
impl UnsafeUnpin for Encryption
impl UnwindSafe for Encryption
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