Struct yowsl::Wslapi
[−]
[src]
pub struct Wslapi { /* fields omitted */ }
Methods
impl Wslapi
[src]
fn new() -> Result<Wslapi, Error>
[src]
fn register_distro(
&self,
distro_name: &str,
tar_gz_filename: &str
) -> Result<(), Error>
[src]
&self,
distro_name: &str,
tar_gz_filename: &str
) -> Result<(), Error>
fn unregister_distro(&self, distro_name: &str) -> Result<(), Error>
[src]
fn get_distro_configuration(
&self,
distro_name: &str
) -> Result<DistroConfiguration, Error>
[src]
&self,
distro_name: &str
) -> Result<DistroConfiguration, Error>
fn configure_distro(
&self,
distro_configuration: &DistroConfiguration
) -> Result<(), Error>
[src]
&self,
distro_configuration: &DistroConfiguration
) -> Result<(), Error>
fn launch(
&self,
distro_name: &str,
command: &str,
use_cwd: bool
) -> Result<u32, Error>
[src]
&self,
distro_name: &str,
command: &str,
use_cwd: bool
) -> Result<u32, Error>