Struct exclusion_merkle_cbt::ExclusionMerkleProof[][src]

pub struct ExclusionMerkleProof<K, V, H, M> { /* fields omitted */ }
Expand description

The proof wrapped MerkleProof to verify the exclusion of some keys

Implementations

The underlying proof

Verify the excluded_keys are all not in tree.

  • Ok(()) => All keys are not in tree
  • Err(Error::InvalidProof) => The proof don’t match the root
  • Err(Error::KeyIncluded(K))=> Some keys are in tree
  • Err(Error::KeyUnknown(K)) => The proof is ok, but some keys not coverted in the range

Trait Implementations

Performs the conversion.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.