unix_cred::ucred
pub fn get_ucred(sock: &UnixStream) -> Result<Ucred>
Get the credentials of the given socket's peer.