pub struct SweepOpts {
pub grace_hours: u64,
pub force: bool,
}Expand description
Knobs for sweep.
Fields§
§grace_hours: u64Grace duration in hours. Tombstones with marked_at younger
than this stay deferred. Ignored when force is true.
force: boolWhen true, skip the grace check. The live-pack re-derive
still runs — a tombstone whose SHA is now referenced by a
committed chain is left alone (closes the mark/commit race
from #117). The grace window is the only safety check this
flag suppresses; concurrent fetches that still hold a SHA in
flight are NOT protected by either path.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SweepOpts
impl RefUnwindSafe for SweepOpts
impl Send for SweepOpts
impl Sync for SweepOpts
impl Unpin for SweepOpts
impl UnsafeUnpin for SweepOpts
impl UnwindSafe for SweepOpts
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> 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 moreCreates a shared type from an unshared type.