(&self)
| 2207 | |
| 2208 | #[pymethod] |
| 2209 | fn gettimeout(&self) -> Option<f64> { |
| 2210 | let timeout = self.timeout.load(); |
| 2211 | if timeout >= 0.0 { Some(timeout) } else { None } |
| 2212 | } |
| 2213 | |
| 2214 | #[pymethod] |
| 2215 | fn setblocking(&self, block: bool) -> io::Result<()> { |