type ProcessDriver = Driver;
Aliased Type§
struct ProcessDriver {
signal_ready: bool,
events: Events,
poll: Poll,
}
Fields§
§signal_ready: bool
True when an event with the signal token is received
events: Events
Reuse the mio::Events
value across calls to poll.
poll: Poll
The system event queue.
Implementations
Source§impl Driver
impl Driver
Sourcepub(crate) fn new(nevents: usize) -> Result<(Driver, Handle)>
pub(crate) fn new(nevents: usize) -> Result<(Driver, Handle)>
Creates a new event loop, returning any error that happened during the creation.