pub trait AssociatedHashAlg: Digest {
const HASH_ALG: HashAlg;
}Expand description
Associate an SSH HashAlg with the given type.
Required Associated Constants§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".
Implementations on Foreign Types§
Source§impl AssociatedHashAlg for Sha256
Available on crate feature sha2 only.
impl AssociatedHashAlg for Sha256
Available on crate feature
sha2 only.Source§impl AssociatedHashAlg for Sha512
Available on crate feature sha2 only.
impl AssociatedHashAlg for Sha512
Available on crate feature
sha2 only.