Expand description
SharedRuntime trait and its implementations: ForkSafeRuntime, BasicRuntime,
and [LocalRuntime].
Structs§
- Basic
Runtime - Non-fork-safe
SharedRuntimeimplementation. - Fork
Safe Runtime - Owns a tokio runtime and manages [
PausableWorker]s on it. - Worker
Handle - Handle to a worker registered on a
SharedRuntime.
Enums§
- Block
OnTimeout Error - Error returned by
BlockingRuntime::block_on_with_timeout. - Shared
Runtime Error - Errors that can occur when using a
SharedRuntimeimplementation. - Worker
Handle Error
Traits§
- Blocking
Runtime - Extension of
SharedRuntimefor runtimes that can block the current thread on a future. - Shared
Runtime - Common interface for all
SharedRuntimeimplementations.