pub fn get_socket_protocol<Fd: AsFd>(fd: Fd) -> Result<Option<Protocol>>
getsockopt(fd, SOL_SOCKET, SO_PROTOCOL)
See the module-level documentation for more.