#[repr(u8)]pub enum EventType {
Clock = 0,
FdRead = 1,
FdWrite = 2,
}
Variants§
Clock = 0
The time value of clock SubscriptionType::clock.clock_id
has reached timestamp
Subscription::clock.timeout
.
FdRead = 1
File descriptor SubscriptionType::FdRw.fd
has data available for reading.
This event always triggers for regular files.
FdWrite = 2
File descriptor SubscriptionType::FdRw.fd
has capacity available for writing.
This event always triggers for regular files.
Trait Implementations§
impl Copy for EventType
impl Eq for EventType
impl StructuralPartialEq for EventType
Auto Trait Implementations§
impl Freeze for EventType
impl RefUnwindSafe for EventType
impl Send for EventType
impl Sync for EventType
impl Unpin for EventType
impl UnwindSafe for EventType
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