Module mio::poll

source · []


Stores the ReadinessNode state in an AtomicUsize. This wrapper around the atomic variable handles encoding / decoding ReadinessState values.

A collection of readiness events.

Owned Events iterator.

Events iterator.

Polls for readiness events on all registered values.

Node shared by a Registration / SetReadiness pair as well as the node queued into the MPSC channel.

Tracks all state for a single ReadinessNode. The state is packed into a usize variable from low to high bit as follows:

Handle to a user space Poll registration.

Used to associate an IO type with a Selector

Updates the readiness state of the associated Registration.


Dequeue 🔒

Returned by dequeue_node. Represents the different states as described by the queue documentation on