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