Struct mio::Selector
[−]
[src]
pub struct Selector { // some fields omitted }
The guts of the Windows event loop, this is the struct which actually owns a completion port.
Internally this is just an Arc
, and this allows handing out references to
the internals to I/O handles registered on this selector. This is
required to schedule I/O operations independently of being inside the event
loop (e.g. when a call to write
is seen we're not "in the event loop").