Skip to main content

LauncherProxyInterface

Trait LauncherProxyInterface 

Source
pub trait LauncherProxyInterface: Send + Sync {
    type LaunchResponseFut: Future<Output = Result<LauncherLaunchResult, Error>> + Send;

    // Required method
    fn launch(
        &self,
        configuration: &LaunchConfiguration,
    ) -> Self::LaunchResponseFut;
}

Required Associated Types§

Required Methods§

Source

fn launch(&self, configuration: &LaunchConfiguration) -> Self::LaunchResponseFut

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§