pub trait DigestContext: SealedDigestContext + Sized {
type Algorithm: HashAlgorithm;
}Expand description
A hash or HMAC context. Implemented by HashContext and HmacContext.
This trait is sealed.
Required Associated Types§
Sourcetype Algorithm: HashAlgorithm
type Algorithm: HashAlgorithm
The hash algorithm of this context.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".