pub enum SupervisorHealthStatus {
Ok,
Degraded,
Failing,
Unresponsive,
Unknown,
}Variants§
Implementations§
Source§impl SupervisorHealthStatus
impl SupervisorHealthStatus
Sourcepub fn plain_line(self) -> &'static str
pub fn plain_line(self) -> &'static str
The fixed line a person sees for this status when the module sent no
summary. Unknown covers both a module not probed yet and one without
the health capability, which is never probed, so its line doesn’t
promise a report later.
Trait Implementations§
Source§impl Clone for SupervisorHealthStatus
impl Clone for SupervisorHealthStatus
impl Copy for SupervisorHealthStatus
Source§impl Debug for SupervisorHealthStatus
impl Debug for SupervisorHealthStatus
Source§impl<'de> Deserialize<'de> for SupervisorHealthStatus
impl<'de> Deserialize<'de> for SupervisorHealthStatus
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for SupervisorHealthStatus
Source§impl PartialEq for SupervisorHealthStatus
impl PartialEq for SupervisorHealthStatus
Source§impl Serialize for SupervisorHealthStatus
impl Serialize for SupervisorHealthStatus
impl StructuralPartialEq for SupervisorHealthStatus
Auto Trait Implementations§
impl Forget for SupervisorHealthStatus
impl Freeze for SupervisorHealthStatus
impl Move for SupervisorHealthStatus
impl RefUnwindSafe for SupervisorHealthStatus
impl Send for SupervisorHealthStatus
impl Sync for SupervisorHealthStatus
impl Unpin for SupervisorHealthStatus
impl UnsafeUnpin for SupervisorHealthStatus
impl UnwindSafe for SupervisorHealthStatus
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