pub struct Aad<A>(/* private fields */);
Expand description
The additionally authenticated data (AAD) for an opening or sealing operation. This data is authenticated but is not encrypted.
The type A
could be a byte slice &[u8]
, a byte array [u8; N]
for some constant N
, Vec<u8>
, etc.
Implementations§
Trait Implementations§
impl<A: Copy> Copy for Aad<A>
impl<A> Eq for Aad<A>where
A: Eq,
Auto Trait Implementations§
impl<A> Freeze for Aad<A>where
A: Freeze,
impl<A> RefUnwindSafe for Aad<A>where
A: RefUnwindSafe,
impl<A> Send for Aad<A>where
A: Send,
impl<A> Sync for Aad<A>where
A: Sync,
impl<A> Unpin for Aad<A>where
A: Unpin,
impl<A> UnwindSafe for Aad<A>where
A: UnwindSafe,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Layout§
Note: Unable to compute type layout, possibly due to this type having generic parameters. Layout can only be computed for concrete, fully-instantiated types.