pub enum ProcessEnd {
Exited(i32),
Signaled(Option<i32>),
}Expand description
How a finished process ended.
Variants§
Exited(i32)
It exited with this code.
Signaled(Option<i32>)
It was ended without an exit code: on Unix by a signal, when known.
Trait Implementations§
Source§impl Clone for ProcessEnd
impl Clone for ProcessEnd
Source§fn clone(&self) -> ProcessEnd
fn clone(&self) -> ProcessEnd
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 ProcessEnd
Source§impl Debug for ProcessEnd
impl Debug for ProcessEnd
impl Eq for ProcessEnd
Source§impl PartialEq for ProcessEnd
impl PartialEq for ProcessEnd
impl StructuralPartialEq for ProcessEnd
Auto Trait Implementations§
impl Forget for ProcessEnd
impl Freeze for ProcessEnd
impl Move for ProcessEnd
impl RefUnwindSafe for ProcessEnd
impl Send for ProcessEnd
impl Sync for ProcessEnd
impl Unpin for ProcessEnd
impl UnsafeUnpin for ProcessEnd
impl UnwindSafe for ProcessEnd
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.