Function bicoro::failable::lift[][src]

pub fn lift<I, O, R, E>(
    co: Coroutine<'_, I, O, Result<R, E>>
) -> ResultCoroutine<'_, I, O, R, E>
Expand description

Lifts coroutine of result into a result coroutine

This is useful if you have a function that returns results and want to easily map and lift it into a result coroutine