Trait stdto_core::ToHash

source ·
pub trait ToHash: ToBytes {
    fn try_to_hash<T: Digest + Write>(&self) -> Result<Output<T>>
    where
        Self: Serialize
, { ... } fn try_to_hash_into<T: Digest + Write>(&self, hasher: &mut T) -> Result<()>
    where
        Self: Serialize
, { ... } fn to_hash<T: Digest + Write>(&self) -> Output<T>
    where
        Self: Serialize
, { ... } fn to_hash_into<T: Digest + Write>(&self, hasher: &mut T)
    where
        Self: Serialize
, { ... } }
Expand description

Provided Methods§

Implementors§