(
&self,
vm: &VirtualMachine,
select: SelectKind,
f: F,
)
| 1078 | } |
| 1079 | |
| 1080 | fn sock_op<F, R>( |
| 1081 | &self, |
| 1082 | vm: &VirtualMachine, |
| 1083 | select: SelectKind, |
| 1084 | f: F, |
| 1085 | ) -> Result<R, IoOrPyException> |
| 1086 | where |
| 1087 | F: FnMut() -> io::Result<R>, |
| 1088 | { |
| 1089 | let timeout = self.get_timeout().ok(); |
| 1090 | self.sock_op_timeout_err(vm, select, timeout, f) |
| 1091 | } |
| 1092 | |
| 1093 | fn sock_op_timeout_err<F, R>( |
| 1094 | &self, |
no test coverage detected