pub struct MptProof { /* private fields */ }Expand description
A Merkle Patricia Trie proof for a single key.
Contains an ordered sequence of encoded nodes from the root to the
key’s position. For membership proofs value is Some(v).
For non-membership proofs value is None.
Fields are crate-private to prevent external mutation; use the accessor methods to read them.
Implementations§
Trait Implementations§
impl Eq for MptProof
impl StructuralPartialEq for MptProof
Auto Trait Implementations§
impl Freeze for MptProof
impl RefUnwindSafe for MptProof
impl Send for MptProof
impl Sync for MptProof
impl Unpin for MptProof
impl UnsafeUnpin for MptProof
impl UnwindSafe for MptProof
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.