pub enum IsRunning {
Running,
NotRunning(ExitStatus),
Uncertain(Error),
}Expand description
Represents the running state of a process.
Variants§
Running
Process is still running.
NotRunning(ExitStatus)
Process has terminated with the given exit status.
Uncertain(Error)
Failed to determine process state.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for IsRunning
impl !RefUnwindSafe for IsRunning
impl Send for IsRunning
impl Sync for IsRunning
impl Unpin for IsRunning
impl !UnwindSafe for IsRunning
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