pub struct RangeProofSpec<F: Family, D: Digest> {
pub start_loc: Location<F>,
pub max_ops: NonZeroU64,
pub inactivity_floor: Location<F>,
pub ops_root: D,
}Expand description
Parameters that identify the operation span and snapshot used to build a range proof.
Fields§
§start_loc: Location<F>First operation location to prove.
max_ops: NonZeroU64Maximum number of operations to include.
inactivity_floor: Location<F>Inactivity floor used to fold old inactive peaks.
ops_root: DThe ops-tree root at the time of proof generation.
Trait Implementations§
Source§impl<F: Clone + Family, D: Clone + Digest> Clone for RangeProofSpec<F, D>
impl<F: Clone + Family, D: Clone + Digest> Clone for RangeProofSpec<F, D>
Source§fn clone(&self) -> RangeProofSpec<F, D>
fn clone(&self) -> RangeProofSpec<F, D>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<F: PartialEq + Family, D: PartialEq + Digest> PartialEq for RangeProofSpec<F, D>
impl<F: PartialEq + Family, D: PartialEq + Digest> PartialEq for RangeProofSpec<F, D>
Source§fn eq(&self, other: &RangeProofSpec<F, D>) -> bool
fn eq(&self, other: &RangeProofSpec<F, D>) -> bool
Tests for
self and other values to be equal, and is used by ==.impl<F: Copy + Family, D: Copy + Digest> Copy for RangeProofSpec<F, D>
impl<F: Eq + Family, D: Eq + Digest> Eq for RangeProofSpec<F, D>
impl<F: Family, D: Digest> StructuralPartialEq for RangeProofSpec<F, D>
Auto Trait Implementations§
impl<F, D> Freeze for RangeProofSpec<F, D>where
D: Freeze,
impl<F, D> RefUnwindSafe for RangeProofSpec<F, D>where
D: RefUnwindSafe,
F: RefUnwindSafe,
impl<F, D> Send for RangeProofSpec<F, D>
impl<F, D> Sync for RangeProofSpec<F, D>
impl<F, D> Unpin for RangeProofSpec<F, D>
impl<F, D> UnsafeUnpin for RangeProofSpec<F, D>where
D: UnsafeUnpin,
impl<F, D> UnwindSafe for RangeProofSpec<F, D>where
D: UnwindSafe,
F: UnwindSafe,
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§impl<T> FutureExt for T
impl<T> FutureExt for T
Source§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
Source§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more