Sha256Hashing

Trait Sha256Hashing 

pub trait Sha256Hashing {
    // Required method
    fn hash<T: Hashable>(&self, t: &T) -> [u8; 32];
}

Required Methods§

fn hash<T: Hashable>(&self, t: &T) -> [u8; 32]

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§