pub struct NativeOpenCodeRunner {
pub binary: PathBuf,
pub env: BTreeMap<String, String>,
}Fields§
§binary: PathBuf§env: BTreeMap<String, String>Trait Implementations§
Source§impl OpenCodeRunner for NativeOpenCodeRunner
impl OpenCodeRunner for NativeOpenCodeRunner
fn available<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = bool> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn run<'life0, 'life1, 'life2, 'life3, 'life4, 'async_trait>(
&'life0 self,
spec: &'life1 LaunchSpec,
cancel: &'life2 CancellationToken,
sink: &'life3 mut DeltaSink<'life4>,
) -> Pin<Box<dyn Future<Output = Result<(), HarnessError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
'life4: 'async_trait,
Auto Trait Implementations§
impl Freeze for NativeOpenCodeRunner
impl RefUnwindSafe for NativeOpenCodeRunner
impl Send for NativeOpenCodeRunner
impl Sync for NativeOpenCodeRunner
impl Unpin for NativeOpenCodeRunner
impl UnsafeUnpin for NativeOpenCodeRunner
impl UnwindSafe for NativeOpenCodeRunner
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