[]Struct nimiq_hash::Sha256Hash

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

Methods

impl Sha256Hash

pub const SIZE: usize

pub fn len() -> usize

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

impl Sha256Hash

pub fn to_hex(&self) -> String

Trait Implementations

impl HashOutput for Sha256Hash[src]

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

impl From<[u8; 32]> for Sha256Hash

impl From<Sha256Hash> for [u8; 32]

impl From<&'static str> for Sha256Hash

impl Clone for Sha256Hash

impl Default for Sha256Hash

impl Eq for Sha256Hash

impl Ord for Sha256Hash

impl PartialEq<Sha256Hash> for Sha256Hash

impl PartialOrd<Sha256Hash> for Sha256Hash

impl Display for Sha256Hash

impl Debug for Sha256Hash

impl FromStr for Sha256Hash

type Err = FromHexError

The associated error which can be returned from parsing.

impl Hash for Sha256Hash

impl StructuralPartialEq for Sha256Hash

impl StructuralEq for Sha256Hash

impl Deserialize for Sha256Hash

impl Serialize for Sha256Hash

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