Trait AlgorithmName
pub trait AlgorithmName {
// Required method
fn write_alg_name(f: &mut Formatter<'_>) -> Result<(), Error>;
}
Expand description
Trait which stores algorithm name constant, used in Debug
implementations.
Required Methods§
fn write_alg_name(f: &mut Formatter<'_>) -> Result<(), Error>
fn write_alg_name(f: &mut Formatter<'_>) -> Result<(), Error>
Write algorithm name into f
.
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.