Trait holochain::prelude::dependencies::kitsune_p2p_types::dependencies::ghost_actor::dependencies::must_future::IntoMustBoxFuture
source · pub trait IntoMustBoxFuture: Future {
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.