pub struct PollInfo {
pub waits: u32,
pub discovery_polls: u32,
pub zero_event_waits: u32,
}Expand description
Instrumentation for the single bounded backend wait.
Fields§
§waits: u32Blocking native wait invocations (positive timeout or infinite).
discovery_polls: u32Nonblocking native discovery invocations (zero timeout).
waits + discovery_polls is at most one per poll.
zero_event_waits: u32Native wait/discovery invocations with no I/O or notifier events, including EINTR.
Bounded by waits + discovery_polls; retains revision-2 raw empty-poll accounting.
Private timeout events are not native work: epoll’s timerfd, the IOCP
deadline packet, the WASI 0.2 deadline pollable and the WASI 0.3 deadline
subtask all count as zero-event calls, while simultaneous I/O or notifier
events keep the call non-empty.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PollInfo
impl RefUnwindSafe for PollInfo
impl Send for PollInfo
impl Sync for PollInfo
impl Unpin for PollInfo
impl UnsafeUnpin for PollInfo
impl UnwindSafe for PollInfo
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