pub struct Bounds<F: Family> {
pub base_size: u64,
pub db_size: u64,
pub total_size: u64,
pub ancestors: Vec<AncestorBounds<F>>,
pub inactivity_floor: Location<F>,
}Expand description
Position and inactivity-floor state for a merkleized QMDB batch.
Fields§
§base_size: u64Total operations before this batch’s own operations.
db_size: u64Boundary between committed DB operations and operations kept in this batch chain.
Usually this is the DB size when the batch was created. If older ancestors were dropped, the boundary moves forward to the oldest ancestor still kept in memory.
total_size: u64Total operations after this batch.
ancestors: Vec<AncestorBounds<F>>Ancestor bounds in newest-first order.
inactivity_floor: Location<F>Inactivity floor declared by this batch’s commit.
Trait Implementations§
Auto Trait Implementations§
impl<F> Freeze for Bounds<F>
impl<F> RefUnwindSafe for Bounds<F>where
F: RefUnwindSafe,
impl<F> Send for Bounds<F>
impl<F> Sync for Bounds<F>
impl<F> Unpin for Bounds<F>where
F: Unpin,
impl<F> UnsafeUnpin for Bounds<F>
impl<F> UnwindSafe for Bounds<F>where
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<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