Trait Sha256Hashable

Source
pub trait Sha256Hashable {
    // Required method
    fn hash(&self, hasher: &mut Sha256Hasher);
}
Expand description

Types that can be hashed by a hasher

Required Methods§

Source

fn hash(&self, hasher: &mut Sha256Hasher)

Implementors§

Source§

impl<B> Sha256Hashable for B
where B: AsRef<[u8]> + ?Sized,