pub struct PreparedIndices { /* private fields */ }Expand description
The index lists of one commit attempt: the list as read from the manifest current at the attempt, the prepared list the builder starts from, and what was settled about the fragment reuse entry.
Only Transaction::prepare_indices
builds one, so a value always went through the tagged-table write gate
and the unified withdrawal step; the manifest it was prepared against is
recorded so the builder refuses a result carried over to another attempt.
Implementations§
Source§impl PreparedIndices
impl PreparedIndices
Sourcepub fn manifest_version(&self) -> Option<u64>
pub fn manifest_version(&self) -> Option<u64>
The version of the manifest the lists were prepared against; None
when the dataset is being created.
Sourcepub fn original(&self) -> &[IndexMetadata]
pub fn original(&self) -> &[IndexMetadata]
The index list as read from the current manifest, never mutated.
Sourcepub fn prepared(&self) -> &[IndexMetadata]
pub fn prepared(&self) -> &[IndexMetadata]
The original list with the in-place rewrite step applied: the list the manifest builder starts from.
Sourcepub fn frag_reuse_update(&self) -> &FragReuseUpdate
pub fn frag_reuse_update(&self) -> &FragReuseUpdate
What the commit path settled about the fragment reuse entry.
Trait Implementations§
Source§impl Clone for PreparedIndices
impl Clone for PreparedIndices
Auto Trait Implementations§
impl Freeze for PreparedIndices
impl RefUnwindSafe for PreparedIndices
impl Send for PreparedIndices
impl Sync for PreparedIndices
impl Unpin for PreparedIndices
impl UnsafeUnpin for PreparedIndices
impl UnwindSafe for PreparedIndices
Blanket Implementations§
impl<T> Allocation for T
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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> ⓘ
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> ⓘ
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