Searched refs:timeout_opt (Results 1 – 4 of 4) sorted by relevance
300 timeout_opt: Option<timespec>, in kevent_ts()309 if let Some(ref timeout) = timeout_opt { in kevent_ts()
903 sys::timeout_opt(self.as_raw(), sys::SOL_SOCKET, sys::SO_RCVTIMEO) in read_timeout()974 sys::timeout_opt(self.as_raw(), sys::SOL_SOCKET, sys::SO_SNDTIMEO) in write_timeout()
606 pub(crate) fn timeout_opt(fd: Socket, lvl: c_int, name: c_int) -> io::Result<Option<Duration>> { in timeout_opt() function
855 pub(crate) fn timeout_opt(fd: Socket, opt: c_int, val: c_int) -> io::Result<Option<Duration>> { in timeout_opt() function