[][src]Struct storage_proofs::hasher::DigestDomain

pub struct DigestDomain(pub [u8; 32]);

Trait Implementations

impl Domain for DigestDomain[src]

impl<D: Digester> HashFunction<DigestDomain> for DigestFunction<D>[src]

fn hash_leaf(data: &dyn LightHashable<Self>) -> T[src]

fn hash_single_node(data: &dyn LightHashable<Self>) -> T[src]

impl From<Fr> for DigestDomain[src]

impl From<FrRepr> for DigestDomain[src]

impl From<DigestDomain> for Fr[src]

impl From<[u8; 32]> for DigestDomain[src]

impl From<DigestDomain> for [u8; 32][src]

impl PartialEq<DigestDomain> for DigestDomain[src]

impl Clone for DigestDomain[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Default for DigestDomain[src]

impl PartialOrd<DigestDomain> for DigestDomain[src]

impl Eq for DigestDomain[src]

impl Ord for DigestDomain[src]

fn max(self, other: Self) -> Self1.21.0[src]

Compares and returns the maximum of two values. Read more

fn min(self, other: Self) -> Self1.21.0[src]

Compares and returns the minimum of two values. Read more

fn clamp(self, min: Self, max: Self) -> Self[src]

🔬 This is a nightly-only experimental API. (clamp)

Restrict a value to a certain interval. Read more

impl Copy for DigestDomain[src]

impl AsRef<[u8]> for DigestDomain[src]

impl Debug for DigestDomain[src]

impl Serialize for DigestDomain[src]

impl<'de> Deserialize<'de> for DigestDomain[src]

impl Rand for DigestDomain[src]

impl<D: Digester> Hashable<DigestFunction<D>> for DigestDomain[src]

fn hash_slice(data: &[Self], state: &mut H)[src]

Feeds a slice of this type into the given [Hasher]. Read more

impl<D: Digester> Algorithm<DigestDomain> for DigestFunction<D>[src]

impl Element for DigestDomain[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

type Owned = T

The resulting type after obtaining ownership.

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> BorrowMut<T> for T where
    T: ?Sized
[src]

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

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

impl<T> SendSyncUnwindSafe for T where
    T: Send + Sync + UnwindSafe + ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,