tokio::net::unix::ucred::impl_linux

Function get_peer_cred

Source
pub(crate) fn get_peer_cred(sock: &UnixStream) -> Result<UCred>