pub struct WorkerCommand {
pub executable: PathBuf,
pub args: Vec<OsString>,
pub deadline: Duration,
}Expand description
How to launch the worker: the executable (usually the app itself, which
calls run_if_requested) plus the selecting argument.
Fields§
§executable: PathBuf§args: Vec<OsString>§deadline: DurationImplementations§
Source§impl WorkerCommand
impl WorkerCommand
Trait Implementations§
Source§impl Clone for WorkerCommand
impl Clone for WorkerCommand
Auto Trait Implementations§
impl Freeze for WorkerCommand
impl RefUnwindSafe for WorkerCommand
impl Send for WorkerCommand
impl Sync for WorkerCommand
impl Unpin for WorkerCommand
impl UnsafeUnpin for WorkerCommand
impl UnwindSafe for WorkerCommand
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