pub enum MaintenanceOutcome {
Succeeded,
Failed {
exit: Option<i32>,
},
TimedOut,
}Expand description
How a maintenance run ended.
Variants§
Succeeded
The command exited zero inside its bound.
Failed
The command exited non-zero, or was ended by a signal, inside its bound.
TimedOut
The bound elapsed first and the command was stopped.
Trait Implementations§
Source§impl Clone for MaintenanceOutcome
impl Clone for MaintenanceOutcome
impl Copy for MaintenanceOutcome
Source§impl Debug for MaintenanceOutcome
impl Debug for MaintenanceOutcome
Source§impl<'de> Deserialize<'de> for MaintenanceOutcome
impl<'de> Deserialize<'de> for MaintenanceOutcome
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 MaintenanceOutcome
Source§impl PartialEq for MaintenanceOutcome
impl PartialEq for MaintenanceOutcome
Source§impl Serialize for MaintenanceOutcome
impl Serialize for MaintenanceOutcome
impl StructuralPartialEq for MaintenanceOutcome
Auto Trait Implementations§
impl Freeze for MaintenanceOutcome
impl RefUnwindSafe for MaintenanceOutcome
impl Send for MaintenanceOutcome
impl Sync for MaintenanceOutcome
impl Unpin for MaintenanceOutcome
impl UnsafeUnpin for MaintenanceOutcome
impl UnwindSafe for MaintenanceOutcome
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.