Function kitsune_p2p_types::box_fut
source · pub fn box_fut<'a, R: Send + 'a>(result: R) -> MustBoxFuture<'a, R>
Expand description
Helper function for the common case of returning this boxed future type.
pub fn box_fut<'a, R: Send + 'a>(result: R) -> MustBoxFuture<'a, R>
Helper function for the common case of returning this boxed future type.