Crate common_runtime

Source

Re-exports§

pub use global::block_on_compact;
pub use global::block_on_global;
pub use global::compact_runtime;
pub use global::create_runtime;
pub use global::global_runtime;
pub use global::init_global_runtimes;
pub use global::spawn_blocking_compact;
pub use global::spawn_blocking_global;
pub use global::spawn_blocking_hb;
pub use global::spawn_compact;
pub use global::spawn_global;
pub use global::spawn_hb;
pub use crate::runtime::Builder;
pub use crate::runtime::Runtime;

Modules§

error
global
Global runtimes
metrics 🔒
Runtime metrics
repeated_task 🔒
runtime
runtime_default
runtime_throttleable

Structs§

JoinError
Task failed to execute to completion.
JoinHandle
An owned permission to join on a task (await its termination).
RepeatedTask

Traits§

TaskFunction
Task to execute repeatedly.

Type Aliases§

BoxedTaskFunction