#[repr(C)]pub struct Ucred {
pub pid: pid_t,
pub uid: uid_t,
pub gid: gid_t,
}
Expand description
Represents the credentials of a Unix socket’s peer.
Fields§
§pid: pid_t
The peer’s PID.
uid: uid_t
The peer’s effective user ID.
gid: gid_t
The peer’s effective group ID.
Trait Implementations§
impl Eq for Ucred
impl StructuralPartialEq for Ucred
Auto Trait Implementations§
impl Freeze for Ucred
impl RefUnwindSafe for Ucred
impl Send for Ucred
impl Sync for Ucred
impl Unpin for Ucred
impl UnwindSafe for Ucred
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more