Type Definition multihash::BoxedMultihashDigest [−][src]
type BoxedMultihashDigest<T = Code> = Box<dyn MultihashDigest<T>>;
This type makes it easier to interact with hashers
Example
ⓘ
let hasher1: BoxedMultihashDigest = Code::Sha3_512.into(); let hasher2: BoxedMultihashDigest<_> = MyCodecTable::MyHash.into();