Function rsix::net::sockopt::get_socket_timeout [−][src]
pub fn get_socket_timeout<Fd: AsFd>(
fd: &Fd,
id: Timeout
) -> Result<Option<Duration>>
Expand description
getsockopt(fd, SOL_SOCKET, id)
—Get the sending or receiving timeout.