Struct pidfd_info
#[repr(C)]
#[non_exhaustive]
pub struct pidfd_info { pub mask: __u64, pub cgroupid: __u64, pub pid: __u32, pub tgid: __u32, pub ppid: __u32, pub ruid: __u32, pub rgid: __u32, pub euid: __u32, pub egid: __u32, pub suid: __u32, pub sgid: __u32, pub fsuid: __u32, pub fsgid: __u32, pub exit_code: __s32 }
Fields
mask: __u64cgroupid: __u64pid: __u32tgid: __u32ppid: __u32ruid: __u32rgid: __u32euid: __u32egid: __u32suid: __u32sgid: __u32fsuid: __u32fsgid: __u32exit_code: __s32
Trait Implementations
impl Clone for pidfd_info
fn clone(&self) -> pidfd_info
impl Copy for pidfd_info
impl Debug for pidfd_info
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl Eq for pidfd_info
impl Hash for pidfd_info
fn hash<__H: Hasher>(&self, state: &mut __H)
impl PartialEq for pidfd_info
fn eq(&self, other: &pidfd_info) -> bool
impl StructuralPartialEq for pidfd_info
Auto Trait Implementations
impl Freeze for pidfd_info
impl RefUnwindSafe for pidfd_info
impl Send for pidfd_info
impl Sync for pidfd_info
impl Unpin for pidfd_info
impl UnsafeUnpin for pidfd_info
impl UnwindSafe for pidfd_info
Blanket Implementations
impl<T> Any for pidfd_info
where
T: 'static + ?Sized,
fn type_id(&self) -> TypeId
impl<T> Borrow<T> for pidfd_info
where
T: ?Sized,
fn borrow(&self) -> &T
impl<T> BorrowMut<T> for pidfd_info
where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
impl<T> CloneToUninit for pidfd_info
where
T: Clone,
unsafe fn clone_to_uninit(&self, dest: *mut u8)
impl<T> From<T> for pidfd_info
fn from(t: T) -> TReturns the argument unchanged.
impl<T, U> Into<U> for pidfd_info
where
U: From<T>,
fn into(self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom<U> for pidfd_info
where
U: Into<T>,
type Error = never;fn try_from(value: U) -> Result<T, never>
impl<T, U> TryInto<U> for pidfd_info
where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error;fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>