[−][src]Struct process_control::ExitStatus
Equivalent to ExitStatus in the standard library but allows for greater
accuracy.
Methods
impl ExitStatus[src]
#[must_use]pub fn success(self) -> bool[src]
Equivalent to ExitStatus::success.
#[must_use]pub fn code(self) -> Option<i64>[src]
Equivalent to ExitStatus::code, but a more accurate value will be
returned if possible.
#[must_use]pub fn signal(self) -> Option<c_int>[src]
Equivalent to ExitStatusExt::signal.
This method is only available on Unix systems.
Trait Implementations
impl Clone for ExitStatus[src]
fn clone(&self) -> ExitStatus[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Copy for ExitStatus[src]
impl Debug for ExitStatus[src]
impl Display for ExitStatus[src]
impl Eq for ExitStatus[src]
impl From<ExitStatus> for ExitStatus[src]
fn from(status: ProcessExitStatus) -> Self[src]
impl PartialEq<ExitStatus> for ExitStatus[src]
fn eq(&self, other: &ExitStatus) -> bool[src]
fn ne(&self, other: &ExitStatus) -> bool[src]
impl StructuralEq for ExitStatus[src]
impl StructuralPartialEq for ExitStatus[src]
Auto Trait Implementations
impl RefUnwindSafe for ExitStatus
impl Send for ExitStatus
impl Sync for ExitStatus
impl Unpin for ExitStatus
impl UnwindSafe for ExitStatus
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T[src]
fn clone_into(&self, target: &mut T)[src]
impl<T> ToString for T where
T: Display + ?Sized, [src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,