pub struct EpollEventInstance {
events: u32,
data: u64,
clock: VClock,
}
Expand description
EpollEventInstance contains information that will be returned by epoll_wait.
Fields§
§events: u32
Xor-ed event types that happened to the file description.
data: u64
Original data retrieved from epoll_event
during epoll_ctl
.
clock: VClock
The release clock associated with this event.
Implementations§
Source§impl EpollEventInstance
impl EpollEventInstance
pub fn new(events: u32, data: u64) -> EpollEventInstance
Trait Implementations§
Auto Trait Implementations§
impl Freeze for EpollEventInstance
impl RefUnwindSafe for EpollEventInstance
impl Send for EpollEventInstance
impl Sync for EpollEventInstance
impl Unpin for EpollEventInstance
impl UnwindSafe for EpollEventInstance
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