pub async fn bind(
        self,
        max_connections: usize,
        addr: &str,
    ) -> Result<Client<TcpConnector>, BuildError> {
        Ok(self
            .build(max_connections, TcpConnector::lookup(addr).await?)
            .await?)
    }
/// Binds the `Client` from the `max_connections`
/// and a string representation of a socket address. This may perform a DNS lookup.
Binds the `Client` from the `max_connections`
and a string representation of a socket address. This may perform a DNS lookup.
Binds the ` Client ` from the ` max_connections ` and a string representation of a socket address . This may perform a DNS lookup .
pub async fn bind(
        self,
        max_connections: usize,
        addr: &str,
    ) -> Result<Client<TcpConnector>, BuildError> {
        Ok(self
            .build(max_connections, TcpConnector::lookup(addr).await?)
            .await?)
    }
pub async fn bind ( self , max_connections : usize , addr : & str , ) -> Result < Client < TcpConnector > , BuildError > { Ok ( self . build ( max_connections , TcpConnector :: lookup ( addr ) . await ? ) . await ? ) }
Binds the `Client` from the `max_connections`
and a string representation of a socket address.
Binds the ` Client ` from the ` max_connections ` and a string representation of a socket address .
self
max_connections
usize
addr
&str