[][src]Struct smt_map::MerkleProof

pub struct MerkleProof {
    pub bitmap: [u8; 32],
    pub hashes: Vec<Hash256>,
}

Merkle proof of a certain triple (SMT-merkle-root, key, value).

Fields

bitmap: [u8; 32]

Whether the siblings along the path to the root are non-default hashes.

hashes: Vec<Hash256>

Trait Implementations

impl PartialEq<MerkleProof> for MerkleProof[src]

impl Eq for MerkleProof[src]

impl Debug for MerkleProof[src]

Auto Trait Implementations

impl Send for MerkleProof

impl Sync for MerkleProof

Blanket Implementations

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> Into<U> for T where
    U: From<T>, 
[src]

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

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]