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