pub async fn launch_startup_session(&mut self, session_url: String) -> Result<(), Error> {
        let mut state = self.state.lock().await;
        state.session_exposed_dir_channel =
            Some(startup::launch_session(&session_url, &state.realm).await?);
        state.session_url = Some(session_url);
        Ok(())
    }
/// Launch the session with the component URL in `session_url`.
///
/// # Errors
///
/// Returns an error if the session could not be launched.
Launch the session with the component URL in `session_url`.
Launch the session with the component URL in ` session_url ` .
pub async fn launch_startup_session(&mut self, session_url: String) -> Result<(), Error> {
        let mut state = self.state.lock().await;
        state.session_exposed_dir_channel =
            Some(startup::launch_session(&session_url, &state.realm).await?);
        state.session_url = Some(session_url);
        Ok(())
    }
pub async fn launch_startup_session ( & mut self , session_url : String ) -> Result < ( ) , Error > { let mut state = self . state . lock ( ) . await ; state . session_exposed_dir_channel = Some ( startup :: launch_session ( & session_url , & state . realm ) . await ? ) ; state . session_url = Some ( session_url ) ; Ok ( ( ) ) }
Launch the session with the component URL in `session_url`.
Launch the session with the component URL in ` session_url ` .
&mut self
session_url
String
&mut self
session_url
String
errors
Returns an error if the session could not be launched.
Returns an error if the session could not be launched .