Skip to main content

MacExt

Trait MacExt 

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

Extension trait for reusable-key MAC implementations to provide builders.

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".

Implementors§

Source§

impl<T: Mac> MacExt for T