pub struct WorkerHandle {
pub holder: String,
pub unit: String,
pub child: Child,
pub pid: u32,
pub out_path: PathBuf,
pub err_path: PathBuf,
}Expand description
A spawned worker: child process (own process group), log paths.
Fields§
§holder: String§unit: String§child: Child§pid: u32§out_path: PathBuf§err_path: PathBufAuto Trait Implementations§
impl Forget for WorkerHandle
impl Freeze for WorkerHandle
impl Move for WorkerHandle
impl RefUnwindSafe for WorkerHandle
impl Send for WorkerHandle
impl Sync for WorkerHandle
impl Unpin for WorkerHandle
impl UnsafeUnpin for WorkerHandle
impl UnwindSafe for WorkerHandle
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