Struct ipc_perm

#[repr(C)]
pub struct ipc_perm { pub __key: key_t, pub uid: uid_t, pub gid: gid_t, pub cuid: uid_t, pub cgid: gid_t, pub mode: c_ushort, pub __seq: c_ushort, /* private fields */ }

Fields

__key: key_t
uid: uid_t
gid: gid_t
cuid: uid_t
cgid: gid_t
mode: c_ushort
__seq: c_ushort

Trait Implementations

impl Clone for ipc_perm

fn clone(&self) -> ipc_perm

impl Copy for ipc_perm

impl Debug for ipc_perm

fn fmt(&self, f: &mut Formatter<'_>) -> Result

impl Eq for ipc_perm

impl Hash for ipc_perm

fn hash<__H: Hasher>(&self, state: &mut __H)

impl PartialEq for ipc_perm

fn eq(&self, other: &ipc_perm) -> bool

impl StructuralPartialEq for ipc_perm

Auto Trait Implementations

impl Freeze for ipc_perm

impl RefUnwindSafe for ipc_perm

impl Send for ipc_perm

impl Sync for ipc_perm

impl Unpin for ipc_perm

impl UnsafeUnpin for ipc_perm

impl UnwindSafe for ipc_perm

Blanket Implementations

impl<T> Any for ipc_perm where T: 'static + ?Sized,

fn type_id(&self) -> TypeId

impl<T> Borrow<T> for ipc_perm where T: ?Sized,

fn borrow(&self) -> &T

impl<T> BorrowMut<T> for ipc_perm where T: ?Sized,

fn borrow_mut(&mut self) -> &mut T

impl<T> CloneToUninit for ipc_perm where T: Clone,

unsafe fn clone_to_uninit(&self, dest: *mut u8)

impl<T> From<T> for ipc_perm

fn from(t: T) -> T

Returns the argument unchanged.

impl<T, U> Into<U> for ipc_perm where U: From<T>,

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

impl<T, U> TryFrom<U> for ipc_perm where U: Into<T>,

type Error = never;
fn try_from(value: U) -> Result<T, never>

impl<T, U> TryInto<U> for ipc_perm where U: TryFrom<T>,

type Error = <U as TryFrom<T>>::Error;
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>