pub struct AutoFix {
pub label: &'static str,
pub cmd: &'static str,
pub verify_topic: Option<&'static str>,
pub verify_gone: Option<&'static str>,
pub include_in_sweep: bool,
}Expand description
A safe auto-executable fix with optional post-fix verification.
verify_topic: inspect_host topic to re-run before (pre-check) and after the fix.
verify_gone: pattern ABSENT in healthy output; present means the problem exists.
include_in_sweep: eligible for --fix-all maintenance sweep.
Fields§
§label: &'static str§cmd: &'static str§verify_topic: Option<&'static str>§verify_gone: Option<&'static str>§include_in_sweep: boolAuto Trait Implementations§
impl Freeze for AutoFix
impl RefUnwindSafe for AutoFix
impl Send for AutoFix
impl Sync for AutoFix
impl Unpin for AutoFix
impl UnsafeUnpin for AutoFix
impl UnwindSafe for AutoFix
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<S> FromSample<S> for S
impl<S> FromSample<S> for S
fn from_sample_(s: S) -> S
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