pub struct Runner {
pub proc: Child,
pub output: Arc<Mutex<OutputBuffer>>,
/* private fields */
}Expand description
Child process controller
Fields§
§proc: Child§output: Arc<Mutex<OutputBuffer>>Implementations§
source§impl Runner
impl Runner
pub fn spawn(args: &[String]) -> Result<Self, DispatcherError>
pub fn update_proc_info(&mut self) -> &ProcInfo
pub fn is_running(&mut self) -> bool
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Runner
impl !RefUnwindSafe for Runner
impl Send for Runner
impl Sync for Runner
impl Unpin for Runner
impl !UnwindSafe for Runner
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