struct AeadKey<const KEY_LEN: usize>([u8; KEY_LEN]);
Expand description
A newtype wrapper for an unbound AEAD key.
Tuple Fields§
§0: [u8; KEY_LEN]
Trait Implementations§
Auto Trait Implementations§
impl<const KEY_LEN: usize> Freeze for AeadKey<KEY_LEN>
impl<const KEY_LEN: usize> RefUnwindSafe for AeadKey<KEY_LEN>
impl<const KEY_LEN: usize> Send for AeadKey<KEY_LEN>
impl<const KEY_LEN: usize> Sync for AeadKey<KEY_LEN>
impl<const KEY_LEN: usize> Unpin for AeadKey<KEY_LEN>
impl<const KEY_LEN: usize> UnwindSafe for AeadKey<KEY_LEN>
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