pub struct TimeoutResult { /* private fields */ }
Expand description
Did the sub-process started with TimeoutCommand::spawn
terminate normally, or did it get terminated unilaterally for
running too long? What was its exit code?
Implementations§
Source§impl TimeoutResult
impl TimeoutResult
Sourcepub fn status(&self) -> ExitStatus
pub fn status(&self) -> ExitStatus
Exit code of the of the sub-process. There is always an exit
code: RunningProcess::wait
does not return until the
sub-process has exited.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TimeoutResult
impl RefUnwindSafe for TimeoutResult
impl Send for TimeoutResult
impl Sync for TimeoutResult
impl Unpin for TimeoutResult
impl UnwindSafe for TimeoutResult
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