Searched defs:with_timeout (Results 1 – 7 of 7) sorted by relevance
74 pub async fn with_timeout<F: Future<Output = R>, R>( in with_timeout() function
22 explicit HangingReceiveThread(SyncSocket* socket, bool with_timeout) in HangingReceiveThread()
365 fn with_timeout(timeout: Duration, f: impl FnOnce() + Send + 'static) { in with_timeout() function
101 pub fn with_timeout(self, duration: Duration) -> Self { in with_timeout() method
710 def check_sendall_interrupted(self, with_timeout): argument
1615 def check_sendall_interrupted(self, with_timeout): argument