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.0const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for fanotify_event_metadata
impl Debug for fanotify_event_metadata
sourceimpl Hash for fanotify_event_metadata
impl Hash for fanotify_event_metadata
sourcefn hash<__H: Hasher>(&self, state: &mut __H)
fn hash<__H: Hasher>(&self, state: &mut __H)
Feeds this value into the given [
Hasher
]. Read more1.3.0fn hash_slice<H>(data: &[Self], state: &mut H)where
H: Hasher,
fn hash_slice<H>(data: &[Self], state: &mut H)where
H: Hasher,
Feeds a slice of this type into the given [
Hasher
]. Read moresourceimpl 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
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
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstablefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more