pub struct EpollEventInterest {
relevant_events: u32,
active_events: u32,
clock: VClock,
data: u64,
}Expand description
Tracks the events that this epoll is interested in for a given file descriptor.
Fields§
§relevant_events: u32The events bitmask the epoll is interested in.
active_events: u32The currently active events for this file descriptor.
clock: VClockThe vector clock for wakeups.
data: u64User-defined data associated with this interest. libc’s data field in epoll_event can store integer or pointer, but only u64 is supported for now. https://man7.org/linux/man-pages/man3/epoll_event.3type.html
Trait Implementations§
Auto Trait Implementations§
impl Freeze for EpollEventInterest
impl RefUnwindSafe for EpollEventInterest
impl Send for EpollEventInterest
impl Sync for EpollEventInterest
impl Unpin for EpollEventInterest
impl UnwindSafe for EpollEventInterest
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
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: 80 bytes