Struct libc::fanotify_event_metadata
source · #[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§
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 for fanotify_event_metadata
impl PartialEq 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 ==
.impl Copy for fanotify_event_metadata
impl Eq for fanotify_event_metadata
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 UnwindSafe for fanotify_event_metadata
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)