Searched refs:set_read_timeout (Results 1 – 3 of 3) sorted by relevance
581 pub fn set_read_timeout(&self, timeout: Option<Duration>) -> io::Result<()> { in set_read_timeout() method877 s1.set_read_timeout(Some(Duration::from_nanos(10))) in unix_seqpacket_zero_timeout()884 s1.set_read_timeout(Some(Duration::from_millis(1))) in unix_seqpacket_read_timeout()952 s1.set_read_timeout(Some(Duration::from_micros(1))) in unix_seqpacket_next_packet_size()
122 .set_read_timeout(timeout) in set_recv_timeout()
328 pub fn set_read_timeout(&self, dur: Option<Duration>) -> Result<()> { in set_read_timeout() method