pub struct ProcessOutcome { /* private fields */ }Expand description
The reason a process ended and the host’s wording for diagnostics.
Implementations§
Source§impl ProcessOutcome
impl ProcessOutcome
Sourcepub fn from_native(status: ExitStatus) -> ProcessOutcome
pub fn from_native(status: ExitStatus) -> ProcessOutcome
Translate native wait status at the platform boundary.
pub fn end(&self) -> ProcessEnd
pub fn code(&self) -> Option<i32>
pub fn success(&self) -> bool
Trait Implementations§
Source§impl Debug for ProcessOutcome
impl Debug for ProcessOutcome
Auto Trait Implementations§
impl Forget for ProcessOutcome
impl Freeze for ProcessOutcome
impl Move for ProcessOutcome
impl RefUnwindSafe for ProcessOutcome
impl Send for ProcessOutcomewhere
RawVecInner: Send,
impl Sync for ProcessOutcomewhere
RawVecInner: Sync,
impl Unpin for ProcessOutcome
impl UnsafeUnpin for ProcessOutcome
impl UnwindSafe for ProcessOutcomewhere
RawVecInner: UnwindSafe,
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