[−][src]Struct ring::aead::Algorithm  
An AEAD Algorithm.
Methods
impl Algorithm[src]
pub fn key_len(&self) -> usize[src]
The length of the key.
pub fn tag_len(&self) -> usize[src]
The length of a tag.
See also MAX_TAG_LEN.
pub fn nonce_len(&self) -> usize[src]
The length of the nonces.
Trait Implementations
impl Debug for Algorithm[src]
impl Eq for Algorithm[src]
impl KeyType for &'static Algorithm[src]
impl PartialEq<Algorithm> for Algorithm[src]
Auto Trait Implementations
impl RefUnwindSafe for Algorithm
impl Send for Algorithm
impl Sync for Algorithm
impl Unpin for Algorithm
impl UnwindSafe for Algorithm
Blanket Implementations
impl<T> Any for T where
    T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
    T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
    T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
    U: From<T>, [src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
    U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, [src]
U: TryFrom<T>,