Function std::os::unix::ucred::impl_linux::peer_cred
pub fn peer_cred(socket: &UnixStream) -> Result<UCred>
peer_credentials_unix_socket
#42839)unstable
This is supported on Unix only.
© 2010 The Rust Project Developers
Licensed under the Apache License, Version 2.0 or the MIT license, at your option.
https://doc.rust-lang.org/std/os/unix/ucred/impl_linux/fn.peer_cred.html