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§
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", so this trait is not object safe.