pub fn connection_timeout(self, connection_timeout: Option<Duration>) -> Self {
        ConnectionOptions {
            connection_timeout,
            ..self
        }
    }
/// Sets the timeout for the initial TCP connection. If None (the default), there is no
/// timeout.
Sets the timeout for the initial TCP connection. If None (the default), there is no
timeout.
Sets the timeout for the initial TCP connection . If None ( the default ) there is no timeout .
pub fn connection_timeout(self, connection_timeout: Option<Duration>) -> Self {
        ConnectionOptions {
            connection_timeout,
            ..self
        }
    }
pub fn connection_timeout ( self , connection_timeout : Option < Duration > ) -> Self { ConnectionOptions { connection_timeout , .. self } }
Sets the timeout for the initial TCP connection.
Sets the timeout for the initial TCP connection .
self
connection_timeout
Option<Duration>
self
connection_timeout
Option<Duration>