Enum nix::sys::event::EventFilter
source · #[repr(i16)]
#[non_exhaustive]
pub enum EventFilter {
EVFILT_AIO,
EVFILT_FS,
EVFILT_MACHPORT,
EVFILT_PROC,
EVFILT_READ,
EVFILT_SIGNAL,
EVFILT_TIMER,
EVFILT_USER,
EVFILT_VM,
EVFILT_VNODE,
EVFILT_WRITE,
}
Available on crate feature
event
only.Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
EVFILT_AIO
EVFILT_FS
EVFILT_MACHPORT
EVFILT_PROC
EVFILT_READ
EVFILT_SIGNAL
EVFILT_TIMER
EVFILT_USER
EVFILT_VM
EVFILT_VNODE
EVFILT_WRITE
Trait Implementations§
source§impl Clone for EventFilter
impl Clone for EventFilter
source§fn clone(&self) -> EventFilter
fn clone(&self) -> EventFilter
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 EventFilter
impl Debug for EventFilter
source§impl Hash for EventFilter
impl Hash for EventFilter
source§impl Ord for EventFilter
impl Ord for EventFilter
source§fn cmp(&self, other: &EventFilter) -> Ordering
fn cmp(&self, other: &EventFilter) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<EventFilter> for EventFilter
impl PartialEq<EventFilter> for EventFilter
source§fn eq(&self, other: &EventFilter) -> bool
fn eq(&self, other: &EventFilter) -> bool
source§impl PartialOrd<EventFilter> for EventFilter
impl PartialOrd<EventFilter> for EventFilter
source§fn partial_cmp(&self, other: &EventFilter) -> Option<Ordering>
fn partial_cmp(&self, other: &EventFilter) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read more