Set the maximum amount of time to spend waiting for acquiring a connection
(&mut self, value: Duration)
| 254 | |
| 255 | /// Set the maximum amount of time to spend waiting for acquiring a connection |
| 256 | pub fn acquire_timeout(&mut self, value: Duration) -> &mut Self { |
| 257 | self.acquire_timeout = Some(value); |
| 258 | self |
| 259 | } |
| 260 | |
| 261 | /// Get the maximum amount of time to spend waiting for acquiring a connection |
| 262 | pub fn get_acquire_timeout(&self) -> Option<Duration> { |
no outgoing calls