#[non_exhaustive]pub enum FragReuseUpdate {
None,
Rewrite(Arc<TaggedRewriteAssembly>),
Trim,
}Expand description
What the commit path settled about the fragment reuse entry for one attempt. In-memory only, like the rewrite intent it carries.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
None
Nothing was prepared for the entry. A tagged entry arriving on a
Rewrite, or a CreateIndex touching a tagged entry, is refused:
without the commit path’s derivation such a shape is a pre-assembled
snapshot that may splice away records a concurrent writer appended.
Rewrite(Arc<TaggedRewriteAssembly>)
A Rewrite on a tagged history: the entry the commit path assembled
for THIS manifest, merging the records the operation’s entry adds
onto the current entry and validating them.
Trim
A trim of the tagged entry derived by the reuse index cleanup against the current entry at commit time.
Trait Implementations§
Source§impl Clone for FragReuseUpdate
impl Clone for FragReuseUpdate
Source§impl Debug for FragReuseUpdate
impl Debug for FragReuseUpdate
Auto Trait Implementations§
impl Freeze for FragReuseUpdate
impl RefUnwindSafe for FragReuseUpdate
impl Send for FragReuseUpdate
impl Sync for FragReuseUpdate
impl Unpin for FragReuseUpdate
impl UnsafeUnpin for FragReuseUpdate
impl UnwindSafe for FragReuseUpdate
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
Mutably borrows from an owned value. Read more
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> ⓘ
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