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§
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)