Struct commit_verify::commit_encode::strategies::UsingHash [−][src]
pub struct UsingHash<H>(_)
where
H: Hash + StrictEncode;
Expand description
Encodes data by first hashing them with the provided hash function H
and then returning its result serialized with strict encoding rules.
Auto Trait Implementations
impl<H> RefUnwindSafe for UsingHash<H> where
H: RefUnwindSafe,
H: RefUnwindSafe,
impl<H> Send for UsingHash<H> where
H: Send,
H: Send,
impl<H> Sync for UsingHash<H> where
H: Sync,
H: Sync,
impl<H> Unpin for UsingHash<H> where
H: Unpin,
H: Unpin,
impl<H> UnwindSafe for UsingHash<H> where
H: UnwindSafe,
H: UnwindSafe,