Struct ring::aead::Aad

source · []
#[repr(transparent)]
pub struct Aad<'a>(_);
Expand description

The additionally authenticated data (AAD) for an opening or sealing operation. This data is authenticated but is not encrypted.

Implementations

Construct the Aad by borrowing a contiguous sequence of bytes.

Construct an empty Aad.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.