digest::core_api

Trait AlgorithmName

Source
pub trait AlgorithmName {
    // Required method
    fn write_alg_name(f: &mut Formatter<'_>) -> Result<(), Error>;
}
Available on crate feature core-api only.
Expand description

Trait which stores algorithm name constant, used in Debug implementations.

Required Methods§

Source

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.

Implementors§