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 and (Android or Linux or DragonFly BSD or FreeBSD or iOS or macOS or NetBSD or OpenBSD) and (Linux or Android) only.