pub enum Orphan {
OwnerChanged {
owner: Option<ActorId>,
},
NotExecuting {
status: WorkStatus,
},
WorkMissing,
}Expand description
Why a run that is not finished no longer matches the task it executes.
Runs never move task ownership; a mismatch is reported so someone can decide what to do.
Variants§
OwnerChanged
The task is owned by someone other than the run’s executor, or by no one.
NotExecuting
The task is no longer being executed.
Fields
§
status: WorkStatusThe task’s current lifecycle.
WorkMissing
The task is not in the plan this view was computed from.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Orphan
impl<'de> Deserialize<'de> for Orphan
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 Orphan
impl StructuralPartialEq for Orphan
Auto Trait Implementations§
impl Freeze for Orphan
impl RefUnwindSafe for Orphan
impl Send for Orphan
impl Sync for Orphan
impl Unpin for Orphan
impl UnsafeUnpin for Orphan
impl UnwindSafe for Orphan
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