Module anterofit::executor
[−]
[src]
Types which can take a boxed closure and execute it, preferably in the background.
Structs
Blocking |
An executor which executes all tasks immediately on the current thread (blocking). |
Pooled |
An executor wrapped around a thread pool which can execute multiple tasks concurrently. |
SingleThread |
An executor which completes all requests in FIFO order on a single background thread. |
Traits
ExecBox |
A wrapper for |
Executor |
A trait describing a type which can execute tasks (in the background or otherwise). |
Type Definitions
DefaultExecutor |
The default executor which should be suitable for most use-cases. |