pub fn launch_component_in_nested_environment<O>(
        &mut self,
        url: String,
        arguments: Option<Vec<String>>,
        environment_label: &str,
    ) -> Result<(EnvironmentControllerProxy, crate::client::App), Error>
    where
        ServiceObjTy: From<Proxy<LoaderMarker, O>>,
        ServiceObjTy: ServiceObjTrait<Output = O>,
    {
        let NestedEnvironment { controller, launcher, directory_request: _ } =
            self.create_nested_environment(environment_label)?;

        let app = crate::client::launch(&launcher, url, arguments)?;
        Ok((controller, app))
    }
/// Starts a new component inside an environment that only has access to
/// the services provided through this `ServicesServer`.
///
/// Note that the resulting `App` and `EnvironmentControllerProxy` must be kept
/// alive for the component to continue running. Once they are dropped, the
/// component will be destroyed.
Starts a new component inside an environment that only has access to
the services provided through this `ServicesServer`.

Note that the resulting `App` and `EnvironmentControllerProxy` must be kept
alive for the component to continue running. Once they are dropped, the
component will be destroyed.
Starts a new component inside an environment that only has access to the services provided through this ` ServicesServer ` . Note that the resulting ` App ` and ` EnvironmentControllerProxy ` must be kept alive for the component to continue running . Once they are dropped the component will be destroyed .
pub fn launch_component_in_nested_environment<O>(
        &mut self,
        url: String,
        arguments: Option<Vec<String>>,
        environment_label: &str,
    ) -> Result<(EnvironmentControllerProxy, crate::client::App), Error>
    where
        ServiceObjTy: From<Proxy<LoaderMarker, O>>,
        ServiceObjTy: ServiceObjTrait<Output = O>,
    {
        let NestedEnvironment { controller, launcher, directory_request: _ } =
            self.create_nested_environment(environment_label)?;
        let app = crate::client::launch(&launcher, url, arguments)?;
        Ok((controller, app))
    }
pub fn launch_component_in_nested_environment < O > ( & mut self , url : String , arguments : Option < Vec < String > > , environment_label : & str , ) -> Result < ( EnvironmentControllerProxy , crate :: client :: App ) , Error > where ServiceObjTy : From < Proxy < LoaderMarker , O > > , ServiceObjTy : ServiceObjTrait < Output = O > , { let NestedEnvironment { controller , launcher , directory_request : _ } = self . create_nested_environment ( environment_label ) ? ; let app = crate :: client :: launch ( & launcher , url , arguments ) ? ; Ok ( ( controller , app ) ) }
Starts a new component inside an environment that only has access to
the services provided through this `ServicesServer`.
Starts a new component inside an environment that only has access to the services provided through this ` ServicesServer ` .
&mut self
url
String
arguments
Option<Vec<String>>
environment_label
&str
&mut self
url
String
arguments
Option<Vec<String>>
environment_label
&str