//! Asynchronous values. //! //! This module contains: //! //! - The [`Future`] trait. //! - The [`FutureExt`] and [`TryFutureExt`] trait, which provides adapters for //! chaining and composing futures. //! - Top-level future combinators like [`lazy`](lazy()) which creates a future //! from a closure that defines its return value, and [`ready`](ready()), //! which constructs a future with an immediate defined value.
// Just a helper function to ensure the futures we're returning all have the // right implementations. pub(crate) fn assert_future<T, F>(future: F) -> F where
F: Future<Output = T>,
{
future
}
Messung V0.5 in Prozent
¤ Dauer der Verarbeitung: 0.16 Sekunden
(vorverarbeitet am 2026-06-20)
¤
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.