#[repr(C)]pub struct sockcred {
pub sc_pid: pid_t,
pub sc_uid: uid_t,
pub sc_euid: uid_t,
pub sc_gid: gid_t,
pub sc_egid: gid_t,
pub sc_ngroups: c_int,
pub sc_groups: [gid_t; 1],
}
Fields§
§sc_pid: pid_t
§sc_uid: uid_t
§sc_euid: uid_t
§sc_gid: gid_t
§sc_egid: gid_t
§sc_ngroups: c_int
§sc_groups: [gid_t; 1]
Trait Implementations§
impl Copy for sockcred
impl Eq for sockcred
impl StructuralPartialEq for sockcred
Auto Trait Implementations§
impl Freeze for sockcred
impl RefUnwindSafe for sockcred
impl Send for sockcred
impl Sync for sockcred
impl Unpin for sockcred
impl UnwindSafe for sockcred
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)