pub enum EngineHealth {
Unknown,
Reachable {
at: DateTime<Utc>,
},
Unreachable {
at: DateTime<Utc>,
reason: String,
},
}Expand description
Engine reachability from the daemon’s perspective.
Variants§
Unknown
Daemon has never probed — state file said “off” since boot and no Start request has arrived. The honest answer under those conditions is “unknown”.
Reachable
Most recent probe succeeded at at.
Unreachable
Most recent probe failed at at with reason.
Trait Implementations§
Source§impl Clone for EngineHealth
impl Clone for EngineHealth
Source§impl Debug for EngineHealth
impl Debug for EngineHealth
Source§impl<'de> Deserialize<'de> for EngineHealth
impl<'de> Deserialize<'de> for EngineHealth
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 EngineHealth
Source§impl PartialEq for EngineHealth
impl PartialEq for EngineHealth
Source§impl Serialize for EngineHealth
impl Serialize for EngineHealth
impl StructuralPartialEq for EngineHealth
Auto Trait Implementations§
impl Forget for EngineHealth
impl Freeze for EngineHealth
impl Move for EngineHealth
impl RefUnwindSafe for EngineHealth
impl Send for EngineHealth
impl Sync for EngineHealth
impl Unpin for EngineHealth
impl UnsafeUnpin for EngineHealth
impl UnwindSafe for EngineHealth
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.