pub enum ProbingGuardAction {
Probe,
Restoration,
Recenter,
}Expand description
What the probing iterate-quality guard does with an iterate.
Variants§
Probe
Guard quiet: run the probing oracle.
Restoration
Guard fired on an infeasible iterate: request restoration.
Recenter
Guard fired on an already-feasible iterate: restoration has nothing to repair, take a centering (LOQO) step instead (gh#986).
Trait Implementations§
Source§impl Clone for ProbingGuardAction
impl Clone for ProbingGuardAction
impl Copy for ProbingGuardAction
Source§impl Debug for ProbingGuardAction
impl Debug for ProbingGuardAction
impl Eq for ProbingGuardAction
Source§impl PartialEq for ProbingGuardAction
impl PartialEq for ProbingGuardAction
impl StructuralPartialEq for ProbingGuardAction
Auto Trait Implementations§
impl Freeze for ProbingGuardAction
impl RefUnwindSafe for ProbingGuardAction
impl Send for ProbingGuardAction
impl Sync for ProbingGuardAction
impl Unpin for ProbingGuardAction
impl UnsafeUnpin for ProbingGuardAction
impl UnwindSafe for ProbingGuardAction
Blanket Implementations§
impl<T> Boilerplate 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T, U> Imply<T> for U
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