#[repr(C)]pub struct inotify_event {
pub wd: i32,
pub mask: u32,
pub cookie: u32,
pub len: u32,
pub name: __IncompleteArrayField<i8>,
}Fields§
§wd: i32§mask: u32§len: u32§name: __IncompleteArrayField<i8>Trait Implementations§
Source§impl Debug for inotify_event
impl Debug for inotify_event
Source§impl Default for inotify_event
impl Default for inotify_event
Source§fn default() -> inotify_event
fn default() -> inotify_event
Returns the “default value” for a type. Read more
Source§impl IntoBytes for inotify_eventwhere
i32: IntoBytes,
u32: IntoBytes,
__IncompleteArrayField<i8>: IntoBytes,
(): PaddingFree<inotify_event, linux_uapi::::x86_64::{impl#2555}::{constant#0}>,
impl IntoBytes for inotify_eventwhere
i32: IntoBytes,
u32: IntoBytes,
__IncompleteArrayField<i8>: IntoBytes,
(): PaddingFree<inotify_event, linux_uapi::::x86_64::{impl#2555}::{constant#0}>,
Source§fn as_mut_bytes(&mut self) -> &mut [u8] ⓘwhere
Self: FromBytes,
fn as_mut_bytes(&mut self) -> &mut [u8] ⓘwhere
Self: FromBytes,
Gets the bytes of this value mutably. Read more
Source§fn write_to(&self, dst: &mut [u8]) -> Result<(), SizeError<&Self, &mut [u8]>>where
Self: Immutable,
fn write_to(&self, dst: &mut [u8]) -> Result<(), SizeError<&Self, &mut [u8]>>where
Self: Immutable,
Source§impl KnownLayout for inotify_event
impl KnownLayout for inotify_event
Source§type PointerMetadata = <__IncompleteArrayField<i8> as KnownLayout>::PointerMetadata
type PointerMetadata = <__IncompleteArrayField<i8> as KnownLayout>::PointerMetadata
The type of metadata stored in a pointer to
Self. Read moreSource§fn size_for_metadata(meta: Self::PointerMetadata) -> Option<usize>
fn size_for_metadata(meta: Self::PointerMetadata) -> Option<usize>
Computes the size of an object of type
Self with the given pointer
metadata. Read moreimpl Immutable for inotify_event
Auto Trait Implementations§
impl Freeze for inotify_event
impl RefUnwindSafe for inotify_event
impl Send for inotify_event
impl Sync for inotify_event
impl Unpin for inotify_event
impl UnwindSafe for inotify_event
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
§impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
§impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more