#result #options

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

#72 in #result

Download history 76/week @ 2024-03-30 46/week @ 2024-04-06 45/week @ 2024-04-13 34/week @ 2024-04-20 28/week @ 2024-04-27 30/week @ 2024-05-04 48/week @ 2024-05-11 48/week @ 2024-05-18 44/week @ 2024-05-25 59/week @ 2024-06-01 39/week @ 2024-06-08 41/week @ 2024-06-15 55/week @ 2024-06-22 40/week @ 2024-06-29 4/week @ 2024-07-06 13/week @ 2024-07-13

116 downloads per month
Used in 2 crates

MPL-2.0/MIT/Apache-2.0

5KB

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