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§
source§impl<A> PartialEq for Aad<A>where
A: PartialEq,
impl<A> PartialEq for Aad<A>where
A: PartialEq,
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: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)