Trait bytehash::ByteHash [−][src]
pub trait ByteHash: 'static + Clone + Debug { type Digest: AsRef<[u8]> + AsMut<[u8]> + Copy + Clone + Eq + Hash + Default + Debug + Send; type State: State<Self::Digest> + Write; fn state() -> Self::State; }
The main trait
Associated Types
type Digest: AsRef<[u8]> + AsMut<[u8]> + Copy + Clone + Eq + Hash + Default + Debug + Send
The type that is used for the final hash value
type State: State<Self::Digest> + Write
The state for computing hashes