[−][src]Enum subprocess::ExitStatus
Exit status of a process.
Variants
Exited(u32)
The process exited with the specified exit code.
Note that the exit code is limited to a much smaller range on most platforms.
Signaled(u8)
The process exited due to a signal with the specified number.
This variant is never created on Windows, where signals of Unix kind do not exist.
Other(i32)
The process exit status cannot be described by the preceding two variants.
This should not occur in normal operation.
It is known that the process has completed, but its exit status is unavailable.
This should not occur in normal operation, but if possible if
for example some foreign code calls waitpid()
on the PID of
the child process.
Methods
impl ExitStatus
[src]
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 Eq for ExitStatus
[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, 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>,