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>

Write algorithm name into f.

Implementations on Foreign Types§

source§

impl<D> AlgorithmName for HmacCore<D>where D: CoreProxy, <D as CoreProxy>::Core: HashMarker + AlgorithmName + UpdateCore + FixedOutputCore<BufferKind = Eager> + BufferKindUser + Default + Clone, <<D as CoreProxy>::Core as BlockSizeUser>::BlockSize: IsLess<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>, B0>, B0>, B0>>, <<<D as CoreProxy>::Core as BlockSizeUser>::BlockSize as IsLess<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>, B0>, B0>, B0>>>::Output: NonZero,

source§

impl AlgorithmName for Sha512VarCore

source§

impl AlgorithmName for Sha256VarCore

§

impl AlgorithmName for Ripemd320Core

§

impl AlgorithmName for Ripemd160Core

§

impl AlgorithmName for Ripemd256Core

§

impl AlgorithmName for Ripemd128Core

§

impl AlgorithmName for CShake128Core

§

impl AlgorithmName for Shake128Core

§

impl AlgorithmName for Keccak256Core

§

impl AlgorithmName for Sha3_512Core

§

impl AlgorithmName for Sha3_256Core

§

impl AlgorithmName for Keccak512Core

§

impl AlgorithmName for Sha3_224Core

§

impl AlgorithmName for Keccak224Core

§

impl AlgorithmName for CShake256Core

§

impl AlgorithmName for Sha3_384Core

§

impl AlgorithmName for TurboShake128Core

§

impl AlgorithmName for TurboShake256Core

§

impl AlgorithmName for Keccak256FullCore

§

impl AlgorithmName for Shake256Core

§

impl AlgorithmName for Keccak384Core

Implementors§