#option #result #inside-out

insideout

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

2 unstable releases

Uses old Rust 2015

0.2.0 Nov 27, 2018
0.1.0 Nov 19, 2017

#35 in #result

Download history 25/week @ 2021-08-06 18/week @ 2021-08-13 17/week @ 2021-08-20 2/week @ 2021-08-27 2/week @ 2021-09-03 14/week @ 2021-09-10 7/week @ 2021-09-17 2/week @ 2021-09-24 9/week @ 2021-10-01 24/week @ 2021-10-08 9/week @ 2021-10-15 27/week @ 2021-10-22 7/week @ 2021-10-29 15/week @ 2021-11-05 10/week @ 2021-11-12 17/week @ 2021-11-19

159 downloads per month
Used in 2 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

V[