Struct sp_core::Blake2Hasher
source · pub struct Blake2Hasher;
Expand description
Concrete implementation of Hasher using Blake2b 256-bit hashes
Trait Implementations§
source§impl Debug for Blake2Hasher
impl Debug for Blake2Hasher
source§impl Hasher for Blake2Hasher
impl Hasher for Blake2Hasher
§type StdHasher = Hash256StdHasher
type StdHasher = Hash256StdHasher
What to use to build
HashMap
s with this Hasher
.Auto Trait Implementations§
impl RefUnwindSafe for Blake2Hasher
impl Send for Blake2Hasher
impl Sync for Blake2Hasher
impl Unpin for Blake2Hasher
impl UnwindSafe for Blake2Hasher
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T, Outer> IsWrappedBy<Outer> for Twhere
Outer: AsRef<T> + AsMut<T> + From<T>,
T: From<Outer>,
impl<T, Outer> IsWrappedBy<Outer> for Twhere Outer: AsRef<T> + AsMut<T> + From<T>, T: From<Outer>,
source§impl<S, T> UncheckedInto<T> for Swhere
T: UncheckedFrom<S>,
impl<S, T> UncheckedInto<T> for Swhere T: UncheckedFrom<S>,
source§fn unchecked_into(self) -> T
fn unchecked_into(self) -> T
The counterpart to
unchecked_from
.