[−][src]Struct mohan::hash::BlakeHasher
Hasher used to build tree @ 256bits
Methods
impl BlakeHasher
[src]
pub fn new() -> Self
[src]
pub fn new_personal(personal: &[u8]) -> Self
[src]
pub fn write(&mut self, msg: &[u8])
[src]
Feed data into Hash State
pub fn finalize(&self) -> H256
[src]
Returns the hash value for the data stream and consumes state.
pub fn chain(self, data: &[u8]) -> Self where
Self: Sized,
[src]
Self: Sized,
Method that writes data then returns self
Trait Implementations
impl Default for BlakeHasher
[src]
fn default() -> BlakeHasher
[src]
Auto Trait Implementations
impl RefUnwindSafe for BlakeHasher
impl Send for BlakeHasher
impl Sync for BlakeHasher
impl Unpin for BlakeHasher
impl UnwindSafe for BlakeHasher
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> Cast<U> for T where
U: FromCast<T>,
U: FromCast<T>,
fn cast(self) -> U
impl<T> From<T> for T
[src]
impl<T> FromBits<T> for T
fn from_bits(t: T) -> T
impl<T> FromCast<T> for T
fn from_cast(t: T) -> T
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> IntoBits<U> for T where
U: FromBits<T>,
U: FromBits<T>,
fn into_bits(self) -> U
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,