pub struct HostBackend { /* private fields */ }Implementations§
Source§impl HostBackend
impl HostBackend
pub fn new(config: &BackendConfig) -> Self
Trait Implementations§
Source§impl ExecutionBackend for HostBackend
impl ExecutionBackend for HostBackend
fn kind(&self) -> ExecutionBackendKind
fn prepare_workspace<'life0, 'life1, 'async_trait>(
&'life0 self,
fixture: &'life1 Path,
) -> Pin<Box<dyn Future<Output = Result<Workspace, RunnerError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn run_command<'life0, 'life1, 'life2, 'life3, 'life4, 'life5, 'life6, 'life7, 'async_trait>(
&'life0 self,
workspace: &'life1 Path,
program: &'life2 str,
args: &'life3 [&'life4 str],
env: &'life5 [(&'life6 str, &'life7 str)],
timeout_secs: u64,
) -> Pin<Box<dyn Future<Output = Result<CommandOutput, RunnerError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
'life4: 'async_trait,
'life5: 'async_trait,
'life6: 'async_trait,
'life7: 'async_trait,
fn collect_logs<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
fmt: &'life1 CommandOutput,
clippy: &'life2 CommandOutput,
test: &'life3 CommandOutput,
) -> Pin<Box<dyn Future<Output = Result<LogBundle, RunnerError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
Auto Trait Implementations§
impl Freeze for HostBackend
impl RefUnwindSafe for HostBackend
impl Send for HostBackend
impl Sync for HostBackend
impl Unpin for HostBackend
impl UnsafeUnpin for HostBackend
impl UnwindSafe for HostBackend
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