pub struct ProcessExit {
pub code: Option<i32>,
pub success: bool,
pub elapsed: Duration,
}Expand description
Terminal child status.
Fields§
§code: Option<i32>Platform exit code, or None when terminated by a signal.
success: boolWhether the platform exit status reports success.
elapsed: DurationWall-clock duration since spawn.
Trait Implementations§
Source§impl Clone for ProcessExit
impl Clone for ProcessExit
Source§fn clone(&self) -> ProcessExit
fn clone(&self) -> ProcessExit
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 ProcessExit
Source§impl Debug for ProcessExit
impl Debug for ProcessExit
impl Eq for ProcessExit
Source§impl Hash for ProcessExit
impl Hash for ProcessExit
Source§impl PartialEq for ProcessExit
impl PartialEq for ProcessExit
impl StructuralPartialEq for ProcessExit
Auto Trait Implementations§
impl Freeze for ProcessExit
impl RefUnwindSafe for ProcessExit
impl Send for ProcessExit
impl Sync for ProcessExit
impl Unpin for ProcessExit
impl UnsafeUnpin for ProcessExit
impl UnwindSafe for ProcessExit
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