pub enum Ended {
Exited(ExitStatus),
TimedOut,
Quiet,
Stopped,
}Expand description
How Process::run’s wait ended.
Variants§
Exited(ExitStatus)
It exited.
TimedOut
It ran past the deadline, and its group was stopped.
Quiet
It printed nothing for the quiet time, and its group was stopped.
Stopped
The sink stopped the wait, and its group was stopped.
Trait Implementations§
impl Copy for Ended
impl Eq for Ended
impl StructuralPartialEq for Ended
Auto Trait Implementations§
impl Freeze for Ended
impl RefUnwindSafe for Ended
impl Send for Ended
impl Sync for Ended
impl Unpin for Ended
impl UnsafeUnpin for Ended
impl UnwindSafe for Ended
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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.