Skip to main content

AadGenerator

Trait AadGenerator 

Source
pub trait AadGenerator {
    // Required method
    fn items(&self) -> impl Iterator<Item = &[u8]>;
}
Expand description

Tool for providing the AAD (Additional Authenticated Data) in a scatter-gather fashion.

Required Methods§

Source

fn items(&self) -> impl Iterator<Item = &[u8]>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl AadGenerator for &[&[u8]]

Source§

fn items(&self) -> impl Iterator<Item = &[u8]>

Source§

impl AadGenerator for &[u8]

Source§

fn items(&self) -> impl Iterator<Item = &[u8]>

Implementors§