Function rustix::net::sockopt::get_socket_passcred
pub fn get_socket_passcred<Fd: AsFd>(fd: &Fd) -> io::Result<bool>
The portability is definied by:
#[cfg(any(target_os = "android", target_os = "linux"))]