Function tsukuyomi::extractor::extract

source ·
pub fn extract<R>(
    f: impl Fn() -> R
) -> impl Extractor<Output = R::Ok, Error = R::Error, Extract = R>where
    R: TryFuture,
    R::Ok: Tuple,
Expand description

Creates an Extractor from the provided function that returns a TryFuture.