#[repr(C)]pub struct ucred {
pub pid: i32,
pub uid: u32,
pub gid: u32,
}
Fields§
§pid: i32
§uid: u32
§gid: u32
Trait Implementations§
source§impl From<UnixCredentials> for ucred
impl From<UnixCredentials> for ucred
source§fn from(uc: UnixCredentials) -> ucred
fn from(uc: UnixCredentials) -> ucred
Converts to this type from the input type.
source§impl PartialEq<ucred> for ucred
impl PartialEq<ucred> for ucred
impl Copy for ucred
impl Eq for ucred
impl StructuralEq for ucred
impl StructuralPartialEq for ucred
Auto Trait Implementations§
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> CallHasher for Twhere
T: Hash + ?Sized,
impl<T> CallHasher for Twhere T: Hash + ?Sized,
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.