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
sourceimpl Clone for fanotify_event_metadata
impl Clone for fanotify_event_metadata
sourcefn clone(&self) -> fanotify_event_metadata
fn clone(&self) -> fanotify_event_metadata
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for fanotify_event_metadata
impl Debug for fanotify_event_metadata
sourceimpl Hash for fanotify_event_metadata
impl Hash for fanotify_event_metadata
sourceimpl PartialEq<fanotify_event_metadata> for fanotify_event_metadata
impl PartialEq<fanotify_event_metadata> for fanotify_event_metadata
sourcefn 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 ==
. Read more
sourcefn ne(&self, other: &fanotify_event_metadata) -> bool
fn ne(&self, other: &fanotify_event_metadata) -> bool
This method tests for !=
.
impl Copy for fanotify_event_metadata
impl Eq for fanotify_event_metadata
impl StructuralEq for fanotify_event_metadata
impl StructuralPartialEq for fanotify_event_metadata
Auto Trait Implementations
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more