pub enum ExitStatus {
Exited(i32),
Signaled(i32),
}Expand description
Represents the termination status of a process.
Variants§
Exited(i32)
Process exited normally with the specified code.
Signaled(i32)
Process was terminated by a signal.
Trait Implementations§
Source§impl Debug for ExitStatus
impl Debug for ExitStatus
impl Eq for ExitStatus
Source§impl PartialEq for ExitStatus
impl PartialEq for ExitStatus
Source§fn eq(&self, other: &ExitStatus) -> bool
fn eq(&self, other: &ExitStatus) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ExitStatus
Auto Trait Implementations§
impl Freeze for ExitStatus
impl RefUnwindSafe for ExitStatus
impl Send for ExitStatus
impl Sync for ExitStatus
impl Unpin for ExitStatus
impl UnsafeUnpin for ExitStatus
impl UnwindSafe for ExitStatus
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