pub struct UCred {
pid: Option<pid_t>,
uid: uid_t,
gid: gid_t,
}
Expand description
Credentials of a process.
Fields§
§pid: Option<pid_t>
PID (process ID) of the process.
uid: uid_t
UID (user ID) of the process.
gid: gid_t
GID (group ID) of the process.
Implementations§
Trait Implementations§
source§impl PartialEq for UCred
impl PartialEq for UCred
impl Copy for UCred
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