pub struct InclusionProofWalk { /* private fields */ }Expand description
The nodes visited when verifying the inclusion proof.
The first [InclusionProofWalk.initial_walk_len] nodes describe the walk up to the balanced root which is the leafs ancestor.
The next [InclusionProofWalk.lower_broots] nodes describe the walk from the rightmost (lowest) broot up towards the broot that was reached.
The next [InclusionProofWalk.upper_broots] nodes describes the walk from the intersection of the previous two to the leftmost (tallest) broot.
Trait Implementations§
Source§impl Clone for InclusionProofWalk
impl Clone for InclusionProofWalk
Source§fn clone(&self) -> InclusionProofWalk
fn clone(&self) -> InclusionProofWalk
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for InclusionProofWalk
impl Debug for InclusionProofWalk
Source§impl PartialEq for InclusionProofWalk
impl PartialEq for InclusionProofWalk
impl Eq for InclusionProofWalk
impl StructuralPartialEq for InclusionProofWalk
Auto Trait Implementations§
impl Freeze for InclusionProofWalk
impl RefUnwindSafe for InclusionProofWalk
impl Send for InclusionProofWalk
impl Sync for InclusionProofWalk
impl Unpin for InclusionProofWalk
impl UnwindSafe for InclusionProofWalk
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§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.