[][src]Function unix_cred::get_peer_ids

pub fn get_peer_ids(sock: &UnixStream) -> Result<(uid_t, gid_t)>

Get the UID and GID of the given socket's peer.