//! Abstracts out the APIs necessary to `Runtime` for integrating the blocking //! pool. When the `blocking` feature flag is **not** enabled, these APIs are //! shells. This isolates the complexity of dealing with conditional //! compilation.
mod pool; pub(crate) use pool::{spawn_blocking, BlockingPool, Spawner};
cfg_fs! { pub(crate) use pool::spawn_mandatory_blocking;
}
cfg_trace! { pub(crate) use pool::Mandatory;
}
mod schedule; mod shutdown; mod task; pub(crate) use task::BlockingTask;
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.