[][src]Function simple_libc::net::ucred::get_ucred

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

Attempts to read credentials from the given Unix stream socket.

Only supported on specific platforms.