pub trait ComponentLauncher:
Sized
+ Sync
+ Send {
// Required method
fn launch_process<'life0, 'life1, 'async_trait>(
&'life0 self,
component: &'life1 Component,
args: Vec<String>,
) -> Pin<Box<dyn Future<Output = Result<(Process, ScopedJob, LoggerStream, LoggerStream), RunTestError>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
}
Required Methods§
Sourcefn launch_process<'life0, 'life1, 'async_trait>(
&'life0 self,
component: &'life1 Component,
args: Vec<String>,
) -> Pin<Box<dyn Future<Output = Result<(Process, ScopedJob, LoggerStream, LoggerStream), RunTestError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn launch_process<'life0, 'life1, 'async_trait>(
&'life0 self,
component: &'life1 Component,
args: Vec<String>,
) -> Pin<Box<dyn Future<Output = Result<(Process, ScopedJob, LoggerStream, LoggerStream), RunTestError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Convenience wrapper around [launch::launch_process
].
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.