[]Struct nimiq_hash::Blake2bHash

#[repr(C)]
pub struct Blake2bHash(_);

Methods

impl Blake2bHash

pub const SIZE: usize

pub fn len() -> usize

pub fn as_bytes(&self) -> &[u8]

impl Blake2bHash

pub fn to_hex(&self) -> String

Trait Implementations

impl HashOutput for Blake2bHash[src]

impl<'a> From<&'a [u8]> for Blake2bHash

impl From<[u8; 32]> for Blake2bHash

impl From<Blake2bHash> for [u8; 32]

impl From<&'static str> for Blake2bHash

impl Clone for Blake2bHash

impl Default for Blake2bHash

impl Eq for Blake2bHash

impl Ord for Blake2bHash

impl PartialEq<Blake2bHash> for Blake2bHash

impl PartialOrd<Blake2bHash> for Blake2bHash

impl Display for Blake2bHash

impl Debug for Blake2bHash

impl FromStr for Blake2bHash

type Err = FromHexError

The associated error which can be returned from parsing.

impl Hash for Blake2bHash

impl StructuralPartialEq for Blake2bHash

impl StructuralEq for Blake2bHash

impl Deserialize for Blake2bHash

impl Serialize for Blake2bHash

Auto Trait Implementations

Blanket Implementations

impl<H> SerializeContent for H where
    H: HashOutput
[src]

impl<H> Hash for H where
    H: HashOutput
[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self