pub struct Aad<A: AsRef<[u8]>>(_);
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§
Auto Trait Implementations§
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