Function tokio::future::maybe_done::maybe_done
source · pub fn maybe_done<F: IntoFuture>(future: F) -> MaybeDone<F::IntoFuture> ⓘ
Expand description
Wraps a future into a MaybeDone
.
pub fn maybe_done<F: IntoFuture>(future: F) -> MaybeDone<F::IntoFuture> ⓘ
Wraps a future into a MaybeDone
.