pub trait DigestDataHash<'a, const L: usize>: DigestData<'a, L> + DigestHash<'a, L> {
    // Required method
    fn set_client(&'a self, client: &'a dyn ClientDataHash<L>);
}Expand description
Computes a digest (cryptographic hash) over data.
‘L’ is the length of the ‘u8’ array to store the digest output.
Required Methods§
Sourcefn set_client(&'a self, client: &'a dyn ClientDataHash<L>)
 
fn set_client(&'a self, client: &'a dyn ClientDataHash<L>)
Set the client instance which will receive hash_done() and
add_data_done() callbacks.