#[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 moreimpl Copy 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,
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 24 bytes