pub async fn connect(
        &self,
        namespace: impl Into<String>,
        metrics_meter: Option<&Meter>,
    ) -> Result<RetryClient<Client>, ClientInitError> {
        let client = self.connect_no_namespace(metrics_meter).await?.into_inner();
        let client = Client::new(client, namespace.into());
        let retry_client = RetryClient::new(client, self.retry_config.clone());
        Ok(retry_client)
    }
/// Attempt to establish a connection to the Temporal server in a specific namespace. The
/// returned client is bound to that namespace.
Attempt to establish a connection to the Temporal server in a specific namespace. The
returned client is bound to that namespace.
Attempt to establish a connection to the Temporal server in a specific namespace . The returned client is bound to that namespace .
pub async fn connect(
        &self,
        namespace: impl Into<String>,
        metrics_meter: Option<&Meter>,
    ) -> Result<RetryClient<Client>, ClientInitError> {
        let client = self.connect_no_namespace(metrics_meter).await?.into_inner();
        let client = Client::new(client, namespace.into());
        let retry_client = RetryClient::new(client, self.retry_config.clone());
        Ok(retry_client)
    }
pub async fn connect ( & self , namespace : impl Into < String > , metrics_meter : Option < & Meter > , ) -> Result < RetryClient < Client > , ClientInitError > { let client = self . connect_no_namespace ( metrics_meter ) . await ? . into_inner ( ) ; let client = Client :: new ( client , namespace . into ( ) ) ; let retry_client = RetryClient :: new ( client , self . retry_config . clone ( ) ) ; Ok ( retry_client ) }
Attempt to establish a connection to the Temporal server in a specific namespace.
Attempt to establish a connection to the Temporal server in a specific namespace .
&self
namespace
impl Into<String>
metrics_meter
Option<&Meter>
&self
namespace
impl Into<String>
metrics_meter
Option<&Meter>