digest::core_api

Trait AlgorithmName

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

source

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

Write algorithm name into f.

Object Safety§

This trait is not object safe.

Implementors§