pub trait Launcher: Sync {
// Required method
fn run<'a>(
&'a self,
launch: Launch,
cancellation: &'a CancellationToken,
) -> Running<'a>;
}Expand description
Starts a built-in’s program and waits for it.
Required Methods§
fn run<'a>( &'a self, launch: Launch, cancellation: &'a CancellationToken, ) -> Running<'a>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".