Set the timeout duration when acquiring a connection
(&mut self, value: Duration)
| 232 | |
| 233 | /// Set the timeout duration when acquiring a connection |
| 234 | pub fn connect_timeout(&mut self, value: Duration) -> &mut Self { |
| 235 | self.connect_timeout = Some(value); |
| 236 | self |
| 237 | } |
| 238 | |
| 239 | /// Get the timeout duration when acquiring a connection, if set |
| 240 | pub fn get_connect_timeout(&self) -> Option<Duration> { |