Module reactor

Source
Expand description

Event Loop Executor

Either spawns a new event loop, or re-uses provided one. Spawned event loop is always single threaded (mostly for historical/backward compatibility reasons) despite the fact that tokio::runtime can be multi-threaded.

Structs§

RpcEventLoop
A handle to running event loop. Dropping the handle will cause event loop to finish.

Enums§

Executor
Initialized Executor
UninitializedExecutor
Possibly uninitialized event loop executor.

Type Aliases§

TaskExecutor
Task executor for Tokio 0.2 runtime.