Struct Aad
pub struct Aad<A>(A);
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.
Tuple Fields§
§0: A
Implementations§
Trait Implementations§
impl<A> Copy for Aad<A>where
A: Copy,
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,
Source§impl<T> ToHex for T
impl<T> ToHex for T
Source§fn encode_hex<U>(&self) -> Uwhere
U: FromIterator<char>,
fn encode_hex<U>(&self) -> Uwhere
U: FromIterator<char>,
Encode the hex strict representing
self
into the result. Lower case
letters are used (e.g. f9b4ca
)Source§fn encode_hex_upper<U>(&self) -> Uwhere
U: FromIterator<char>,
fn encode_hex_upper<U>(&self) -> Uwhere
U: FromIterator<char>,
Encode the hex strict representing
self
into the result. Upper case
letters are used (e.g. F9B4CA
)