Skip to main content

AlgorithmName

Trait AlgorithmName 

Source
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§

Source

fn write_alg_name(f: &mut Formatter<'_>) -> Result

Write algorithm name into f.

§Errors

fmt::Result is only intended for cases where an error occurs writing to the underlying I/O stream.

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.

Implementors§