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.
Get the peer's PID.
This only works on FreeBSD 13+. On FreeBSD 12 and earlier, it always returns
pub 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[src]
impl UnwindSafe for Xucred[src]
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.