[−][src]Struct portable_pty::ExitStatus
Represents the exit status of a child process. This is rather anemic in the current version of this crate, holding only an indicator of success or failure.
Implementations
impl ExitStatus
[src]
pub fn with_exit_code(code: u32) -> Self
[src]
Construct an ExitStatus from a process return code
pub fn success(&self) -> bool
[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 Debug for ExitStatus
[src]
impl From<ExitStatus> for ExitStatus
[src]
fn from(status: ExitStatus) -> 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>,