[][src]Function unix_cred::ucred::get_ucred

pub fn get_ucred(sock: &UnixStream) -> Result<Ucred>

Get the credentials of the given socket's peer.