Trait MacExt

Source
pub trait MacExt: Mac {
    // Required method
    fn builder(&mut self) -> GenericMacBuilder<'_, Self>;
}
Expand description

Extension trait for MAC implementations to provide builder methods

Required Methods§

Source

fn builder(&mut self) -> GenericMacBuilder<'_, Self>

Creates a builder for this MAC instance

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<T: Mac> MacExt for T