pub enum RangeProofType {
Complete,
Partial,
}Expand description
Indicates whether the proof includes all leaves from every namespace it covers.
Variants§
Complete
A range proof over a single namespace is complete if it includes all the leaves in that namespace. A range proof over several namespaces is complete if all individual namespaces are complete.
Partial
A range proof over a single namespace is partial if it omits at least one leaf from that namespace. A range proof over several namespaces is partial if it includes at least one namespace that is partial.
Note that (since ranges are contiguous) only the first or last namespace covered by a range proof may be partial.
Trait Implementations§
Source§impl Clone for RangeProofType
impl Clone for RangeProofType
Source§fn clone(&self) -> RangeProofType
fn clone(&self) -> RangeProofType
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 RangeProofType
impl Debug for RangeProofType
Source§impl PartialEq for RangeProofType
impl PartialEq for RangeProofType
impl Copy for RangeProofType
impl StructuralPartialEq for RangeProofType
Auto Trait Implementations§
impl Freeze for RangeProofType
impl RefUnwindSafe for RangeProofType
impl Send for RangeProofType
impl Sync for RangeProofType
impl Unpin for RangeProofType
impl UnwindSafe for RangeProofType
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