Struct fanotify_event_metadata

#[repr(C, align(8))]
pub struct fanotify_event_metadata { pub event_len: __u32, pub vers: __u8, pub reserved: __u8, pub metadata_len: __u16, pub mask: __u64, pub fd: c_int, pub pid: c_int }

Fields

event_len: __u32
vers: __u8
reserved: __u8
metadata_len: __u16
mask: __u64
fd: c_int
pid: c_int

Trait Implementations

impl Clone for fanotify_event_metadata

fn clone(&self) -> fanotify_event_metadata

impl Copy for fanotify_event_metadata

impl Debug for fanotify_event_metadata

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

impl Eq for fanotify_event_metadata

impl Hash for fanotify_event_metadata

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

impl PartialEq for fanotify_event_metadata

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

impl StructuralPartialEq for fanotify_event_metadata

Auto Trait Implementations

impl Freeze for fanotify_event_metadata

impl RefUnwindSafe for fanotify_event_metadata

impl Send for fanotify_event_metadata

impl Sync for fanotify_event_metadata

impl Unpin for fanotify_event_metadata

impl UnsafeUnpin for fanotify_event_metadata

impl UnwindSafe for fanotify_event_metadata

Blanket Implementations

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

fn type_id(&self) -> TypeId

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

fn borrow(&self) -> &T

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

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

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

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

impl<T> From<T> for fanotify_event_metadata

fn from(t: T) -> T

Returns the argument unchanged.

impl<T, U> Into<U> for fanotify_event_metadata 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 fanotify_event_metadata where U: Into<T>,

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

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

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