Function std::os::unix::ucred::impl_linux::peer_cred[][src]

pub fn peer_cred(socket: &UnixStream) -> Result<UCred>
🔬 This is a nightly-only experimental API. (peer_credentials_unix_socket #42839)

unstable

This is supported on Unix only.