Crate single_executor[−][src]
Expand description
A single-threaded async executor.
Structs
AsyncExecutor | An asynchronous executor that can be used to run multiple async tasks. All user code runs in a single thread becasue the v5 is single threaded. Blocked tasks will stop running and wait to be unblocked while also not blocking the main thread. |
AsyncTask | The tasks used by |
AtomicI8State | An atomic that stores a given state in a |
AtomicI16State | An atomic that stores a given state in a |
AtomicI32State | An atomic that stores a given state in a |
AtomicI64State | An atomic that stores a given state in a |
AtomicU8State | An atomic that stores a given state in a |
AtomicU16State | An atomic that stores a given state in a |
AtomicU32State | An atomic that stores a given state in a |
AtomicU64State | An atomic that stores a given state in a |
ExecutorHandle | A handle to an executor allowing submission of tasks. |
LocalExecutorHandle | A handle to an executor allowing submission of tasks. This handle may not be sent across threads but can submit |
MultiCompleteFuture | A version of |
MultiCompleteFutureHandle | A handle to a |
SleepFuture | The future given by |
SleepFutureRunner | Runs asynchronous sleep functions by launching a separate handler thread. Each new instance of this spawns a thread. |
SleepMessage | Internal message that the queue in |
TimeoutFuture | A future that can timeout. |
Functions
polling_future | Polls a function ( |
spawn_blocking | Returns a future that will contain the result of |
try_spawn_blocking | Returns a future that will contain the result of |
Type Definitions
AsyncExecutorStd | An async executor that uses std functions. |