Enum multihash::Code [−][src]
pub enum Code {
Sha2_256,
Sha2_512,
Identity,
}
Expand description
Default (cryptographically secure) Multihash implementation.
This is a default set of hashing algorithms. Usually applications would use their own subset of
algorithms. See the Multihash
derive for more information.
Variants
SHA-256 (32-byte hash size)
SHA-512 (64-byte hash size)
Identity hash (max. 64 bytes)
Trait Implementations
Performs the conversion.
Performs the conversion.
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for Code
impl UnwindSafe for Code
Blanket Implementations
Mutably borrows from an owned value. Read more