Struct libc::fanotify_event_metadata
source · #[repr(C)]#[repr(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§
source§impl Clone for fanotify_event_metadata
impl Clone for fanotify_event_metadata
source§fn clone(&self) -> fanotify_event_metadata
fn clone(&self) -> fanotify_event_metadata
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for fanotify_event_metadata
impl Debug for fanotify_event_metadata
source§impl Hash for fanotify_event_metadata
impl Hash for fanotify_event_metadata
source§impl PartialEq<fanotify_event_metadata> for fanotify_event_metadata
impl PartialEq<fanotify_event_metadata> for fanotify_event_metadata
source§fn eq(&self, other: &fanotify_event_metadata) -> bool
fn eq(&self, other: &fanotify_event_metadata) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.