#option #result #inside-out

insideout

Wrap composed types inside-out (eg. Result<Option<T>, E> or Option<Result<T,E>>

2 unstable releases

0.2.0 Nov 27, 2018
0.1.0 Nov 19, 2017

#8 in #option

Download history 189/week @ 2019-03-29 163/week @ 2019-04-05 291/week @ 2019-04-12 263/week @ 2019-04-19 410/week @ 2019-04-26 125/week @ 2019-05-03 49/week @ 2019-05-10 70/week @ 2019-05-17 116/week @ 2019-05-24 58/week @ 2019-05-31 50/week @ 2019-06-07 152/week @ 2019-06-14 173/week @ 2019-06-21 91/week @ 2019-06-28 305/week @ 2019-07-05

696 downloads per month
Used in 3 crates

MPL-2.0/MIT/Apache-2.0

4KB

Travis CI Build Status dpc on crates.io dpc Gitter Chat

insideout - Wrap composed types inside-out

Turn Option<Result<O, E>> into <Result<Option<O>, E>> and the other way around. Also for Iterators and potentially other types.

Feel free to submit PR for other types where this operation makes sense.

No runtime deps