Function rustix::net::sockopt::get_socket_error
source · pub fn get_socket_error<Fd: AsFd>(fd: Fd) -> Result<Result<(), Errno>>
Available on crate feature
net
only.Expand description
getsockopt(fd, SOL_SOCKET, SO_ERROR)