pub struct VectorFieldGuardMaintenance { /* private fields */ }Expand description
A finite key-only discovery pass. Each step revisits one current field and conditionally deletes its reference marker. Retained readers keep the old records; ordinary document writers retain their lifetime observation and mergeable markers. Uncertain commits keep the current key and original attempt until explicit completion.
Implementations§
Source§impl VectorFieldGuardMaintenance
impl VectorFieldGuardMaintenance
pub fn start( store: &VersionedKeyValueStore, control: &StorageReadControl, ) -> StorageBackendResult<Self>
Sourcepub fn step(&mut self) -> StorageBackendResult<Option<bool>>
pub fn step(&mut self) -> StorageBackendResult<Option<bool>>
None completes discovery. Some(true) deletes the current empty field’s live marker; Some(false) leaves a live field, a tombstone, or a racing writer for later maintenance.
Sourcepub fn commit_pending(&mut self) -> StorageBackendResult<()>
pub fn commit_pending(&mut self) -> StorageBackendResult<()>
Resolve the retained original commit; the next step advances the cursor without reevaluating the completed field.
pub fn rollback_pending(&self) -> StorageBackendResult<()>
pub fn run( store: &VersionedKeyValueStore, control: &StorageReadControl, ) -> StorageBackendResult<()>
Auto Trait Implementations§
impl !Freeze for VectorFieldGuardMaintenance
impl !RefUnwindSafe for VectorFieldGuardMaintenance
impl !UnwindSafe for VectorFieldGuardMaintenance
impl Send for VectorFieldGuardMaintenance
impl Sync for VectorFieldGuardMaintenance
impl Unpin for VectorFieldGuardMaintenance
impl UnsafeUnpin for VectorFieldGuardMaintenance
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