rustix::net::sockopt

Function get_socket_error

source
pub fn get_socket_error<Fd: AsFd>(fd: Fd) -> Result<Result<(), Errno>>
Expand description

getsockopt(fd, SOL_SOCKET, SO_ERROR)

See the module-level documentation for more.