pub enum ChildState {
Gone,
Unknown,
}Expand description
Whether the child process from the interrupted run has been confirmed gone.
A separate type rather than a bool because the two values are not interchangeable at a call
site: passing the wrong one silently authorises a duplicate run, which is the exact failure
recovery is meant to avoid.
Variants§
Gone
The process is known to be gone: the Tower watched it exit, or checked and it was not there.
Unknown
Nobody has checked, or the check was inconclusive.
Trait Implementations§
Source§impl Clone for ChildState
impl Clone for ChildState
impl Copy for ChildState
Source§impl Debug for ChildState
impl Debug for ChildState
impl Eq for ChildState
Source§impl PartialEq for ChildState
impl PartialEq for ChildState
impl StructuralPartialEq for ChildState
Auto Trait Implementations§
impl Freeze for ChildState
impl RefUnwindSafe for ChildState
impl Send for ChildState
impl Sync for ChildState
impl Unpin for ChildState
impl UnsafeUnpin for ChildState
impl UnwindSafe for ChildState
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