pub enum StopCause {
Blocked {
note: String,
},
HandedBack {
note: String,
},
FrozeWithoutEvidence,
Stalled {
repeats: u32,
},
GateOverdue {
waited_ms: u64,
},
}Expand description
Why a held node was put down without evidence.
Exhaustive, and the whole point of the enum is the division it draws: a resident that hands work back leaves it ready for somebody else, while every other cause leaves it red.
Variants§
Blocked
A resident says this node cannot proceed, and why.
HandedBack
A resident is not the one to do this after all. Not red: the node goes back where another run can take it.
FrozeWithoutEvidence
The run holding it ended without citing anything.
Stalled
crate::stall found the run going nowhere.
GateOverdue
A door was escalated to a person and nobody has answered.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for StopCause
impl<'de> Deserialize<'de> for StopCause
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 StopCause
impl StructuralPartialEq for StopCause
Auto Trait Implementations§
impl Freeze for StopCause
impl RefUnwindSafe for StopCause
impl Send for StopCause
impl Sync for StopCause
impl Unpin for StopCause
impl UnsafeUnpin for StopCause
impl UnwindSafe for StopCause
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