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§
Sourcefn builder(&mut self) -> GenericMacBuilder<'_, Self>
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".