pub enum DoctorSeverity {
Ok,
Warn,
Error,
}Expand description
Severity of a doctor finding. Drives the OutputLine kind
the dispatcher emits:
Ok→System(informational)Warn→Warn(amber, advisory)Error→Alert(red + bold, operator must not miss)
The three levels are the same ones zero doctor prints in
its non-interactive form, so operators see consistent
wording whether they run /config doctor inside the TUI or
zero doctor from a shell.
Variants§
Trait Implementations§
Source§impl Clone for DoctorSeverity
impl Clone for DoctorSeverity
Source§fn clone(&self) -> DoctorSeverity
fn clone(&self) -> DoctorSeverity
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DoctorSeverity
impl Debug for DoctorSeverity
Source§impl PartialEq for DoctorSeverity
impl PartialEq for DoctorSeverity
impl Copy for DoctorSeverity
impl Eq for DoctorSeverity
impl StructuralPartialEq for DoctorSeverity
Auto Trait Implementations§
impl Freeze for DoctorSeverity
impl RefUnwindSafe for DoctorSeverity
impl Send for DoctorSeverity
impl Sync for DoctorSeverity
impl Unpin for DoctorSeverity
impl UnsafeUnpin for DoctorSeverity
impl UnwindSafe for DoctorSeverity
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