Skip to main content

Module blocking_io

Module blocking_io 

Source

Structs§

BlockingIoManager
Manager for managing blocking host I/O in a non-blocking manner. We use [Poll] to poll for new I/O events from the OS for sources registered using this manager.

Enums§

InterestReceiver
An interest receiver defines the action that should be taken when the associated [Interest] is fulfilled.

Constants§

IO_EVENT_CAPACITY 🔒
Capacity of the event queue which can be polled at a time. Since we don’t expect many simultaneous blocking I/O events this value can be set rather low.

Traits§

EvalContextExt
WithSource
Trait for values that contain a mio [Source].

Functions§

interest_union 🔒
Get the union of all interests for a source. Returns None if the map is empty.