Skip to main content

launch_with

Function launch_with 

Source
pub async fn launch_with<Shutdown, Present, Presentation>(
    spec: &LaunchSpec,
    shutdown: Shutdown,
    present: Present,
) -> Result<i32, GuiLaunchError>
where Shutdown: Future<Output = Result<GuiSignal>>, Present: FnOnce(&GuiReady, bool) -> Presentation, Presentation: Future<Output = Result<()>>,