Launch

Trait Launch 

Source
pub trait Launch<'a> {
    // Required method
    async fn launch(
        &mut self,
        username: &str,
        uuid: &str,
        java_distribution: JavaDistribution,
    ) -> InstallerResult<()>;
}

Required Methods§

Source

async fn launch( &mut self, username: &str, uuid: &str, java_distribution: JavaDistribution, ) -> InstallerResult<()>

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.

Implementations on Foreign Types§

Source§

impl<'a> Launch<'a> for Version<'a>

Source§

async fn launch( &mut self, username: &str, uuid: &str, java_distribution: JavaDistribution, ) -> InstallerResult<()>

Implementors§