pub enum GuardedDeleteResult {
Applied {
stats: Vec<DeleteStats>,
report: RoutabilityAdmissionReport,
},
Deferred(RoutabilityAdmissionReport),
}Expand description
Outcome of an atomic guarded deletion request.
Variants§
Applied
The preflight passed and MERIT repair was applied.
Deferred(RoutabilityAdmissionReport)
The preflight failed and the index was not modified.
Implementations§
Source§impl GuardedDeleteResult
impl GuardedDeleteResult
pub fn report(&self) -> &RoutabilityAdmissionReport
pub fn was_applied(&self) -> bool
Trait Implementations§
Source§impl Clone for GuardedDeleteResult
impl Clone for GuardedDeleteResult
Auto Trait Implementations§
impl Forget for GuardedDeleteResult
impl Freeze for GuardedDeleteResult
impl Move for GuardedDeleteResult
impl RefUnwindSafe for GuardedDeleteResult
impl Send for GuardedDeleteResultwhere
RawVecInner: Send,
impl Sync for GuardedDeleteResultwhere
RawVecInner: Sync,
impl Unpin for GuardedDeleteResult
impl UnsafeUnpin for GuardedDeleteResultwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<DeleteStats>: UnsafeUnpin,
PhantomData<u32>: UnsafeUnpin,
impl UnwindSafe for GuardedDeleteResultwhere
RawVecInner: 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> 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