#[repr(C)]pub struct sockcred2 {
pub sc_version: c_int,
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_version: c_int§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§
Auto Trait Implementations§
impl Freeze for sockcred2
impl RefUnwindSafe for sockcred2
impl Send for sockcred2
impl Sync for sockcred2
impl Unpin for sockcred2
impl UnwindSafe for sockcred2
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