pub enum LadderAction {
Wait,
Term,
Kill,
Done,
}Expand description
What the reactor should do on this tick of a teardown.
Variants§
Wait
Nothing yet — keep waiting for children to exit.
Term
killpg(SIGTERM) every still-live target.
Kill
killpg(SIGKILL) every still-live target.
Done
Everything has exited (or been killed and reaped) — teardown complete.
Trait Implementations§
Source§impl Clone for LadderAction
impl Clone for LadderAction
Source§fn clone(&self) -> LadderAction
fn clone(&self) -> LadderAction
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for LadderAction
Source§impl Debug for LadderAction
impl Debug for LadderAction
impl Eq for LadderAction
Source§impl PartialEq for LadderAction
impl PartialEq for LadderAction
impl StructuralPartialEq for LadderAction
Auto Trait Implementations§
impl Freeze for LadderAction
impl RefUnwindSafe for LadderAction
impl Send for LadderAction
impl Sync for LadderAction
impl Unpin for LadderAction
impl UnsafeUnpin for LadderAction
impl UnwindSafe for LadderAction
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