pub trait NamedDigest: Digest {
// Required method
fn name() -> &'static str;
}
Required Methods§
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.
Implementations on Foreign Types§
Source§impl NamedDigest for Hasher
Available on crate feature blake3
only.
impl NamedDigest for Hasher
Available on crate feature
blake3
only.Source§impl NamedDigest for Xxh3_64
Available on crate feature xxhash
only.
impl NamedDigest for Xxh3_64
Available on crate feature
xxhash
only.Source§impl NamedDigest for Xxh3_128
Available on crate feature xxhash
only.
impl NamedDigest for Xxh3_128
Available on crate feature
xxhash
only.Source§impl NamedDigest for Xxh32
Available on crate feature xxhash
only.
impl NamedDigest for Xxh32
Available on crate feature
xxhash
only.Source§impl NamedDigest for Xxh64
Available on crate feature xxhash
only.
impl NamedDigest for Xxh64
Available on crate feature
xxhash
only.Source§impl NamedDigest for Sha1
Available on crate feature sha1
only.
impl NamedDigest for Sha1
Available on crate feature
sha1
only.Source§impl NamedDigest for Sha224
Available on crate feature sha224
only.
impl NamedDigest for Sha224
Available on crate feature
sha224
only.Source§impl NamedDigest for Sha256
Available on crate feature sha256
only.
impl NamedDigest for Sha256
Available on crate feature
sha256
only.Source§impl NamedDigest for Sha384
Available on crate feature sha384
only.
impl NamedDigest for Sha384
Available on crate feature
sha384
only.Source§impl NamedDigest for Sha512
Available on crate feature sha512
only.
impl NamedDigest for Sha512
Available on crate feature
sha512
only.