pub struct LocalSubprocessLauncher {
pub worker_bin: PathBuf,
pub worker_args: Vec<String>,
}Expand description
The current, default behavior: spawn the worker binary as a local OS
subprocess and provision it over stdin. A direct, zero-behavior-change
wrapper over spawn_worker.
Fields§
§worker_bin: PathBuf§worker_args: Vec<String>Implementations§
Trait Implementations§
Source§impl WorkerLauncher for LocalSubprocessLauncher
impl WorkerLauncher for LocalSubprocessLauncher
fn launch<'life0, 'life1, 'async_trait>(
&'life0 self,
spec: &'life1 ProvisionSpec,
wait: Duration,
) -> Pin<Box<dyn Future<Output = TransportResult<SpawnedChild>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Auto Trait Implementations§
impl Freeze for LocalSubprocessLauncher
impl RefUnwindSafe for LocalSubprocessLauncher
impl Send for LocalSubprocessLauncher
impl Sync for LocalSubprocessLauncher
impl Unpin for LocalSubprocessLauncher
impl UnsafeUnpin for LocalSubprocessLauncher
impl UnwindSafe for LocalSubprocessLauncher
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