Trait holochain::prelude::kitsune_p2p::dependencies::kitsune_p2p_types::dependencies::ghost_actor::dependencies::must_future::IntoMustBoxFuture
source · pub trait IntoMustBoxFuture: Future {
// Provided method
fn must_box<'a>(self) -> MustBoxFuture<'a, Self::Output> ⓘ
where Self: 'a + Sized + Send { ... }
}
Expand description
Helper trait for converting raw unboxed futures into MustBoxFutures.
Would be nice to impl<F: Future> Into<MustBoxFuture> for F
,
but blanket impls in rust core prevent this.