Set the idle duration before closing a connection
(&mut self, value: Duration)
| 243 | |
| 244 | /// Set the idle duration before closing a connection |
| 245 | pub fn idle_timeout(&mut self, value: Duration) -> &mut Self { |
| 246 | self.idle_timeout = Some(value); |
| 247 | self |
| 248 | } |
| 249 | |
| 250 | /// Get the idle duration before closing a connection, if set |
| 251 | pub fn get_idle_timeout(&self) -> Option<Duration> { |
no outgoing calls
no test coverage detected