Represents the credentials of a Unix socket's peer.
Get the peer's effective user ID.
Get the peer's effective group ID.
Get the peer's supplementary group list.
On FreeBSD, this is truncated to the first 16 supplementary groups. If you need the full
group list, on FreeBSD 13+ you can use the PID (as returned by
pid()) to look up the
process and determine its full group list.
fn hash_slice<H>(data: &[Self], state: &mut H) where1.3.0[src]
impl StructuralEq for Xucred[src]
impl StructuralPartialEq for Xucred[src]
impl RefUnwindSafe for Xucred
impl UnwindSafe for Xucred
type Owned = T
The resulting type after obtaining ownership.
pub fn clone_into(&self, target: &mut T)[src]
type Error = Infallible
The type returned in the event of a conversion error.