pub enum HeaderProtectionKey {
Aes(Aes),
ChaCha([u8; 32]),
}Expand description
Header protection (RFC 9001 section 5.4): AES-ECB or ChaCha20.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for HeaderProtectionKey
impl Clone for HeaderProtectionKey
Auto Trait Implementations§
impl Forget for HeaderProtectionKey
impl Freeze for HeaderProtectionKey
impl Move for HeaderProtectionKey
impl RefUnwindSafe for HeaderProtectionKey
impl Send for HeaderProtectionKey
impl Sync for HeaderProtectionKey
impl Unpin for HeaderProtectionKey
impl UnsafeUnpin for HeaderProtectionKey
impl UnwindSafe for HeaderProtectionKey
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