#error-handling #utility #options

result_option

An enum combining Result and Option into a single type

4 releases (2 breaking)

Uses new Rust 2024

0.3.0 Oct 1, 2025
0.2.0 Sep 29, 2025
0.1.1 Sep 19, 2025
0.1.0 Sep 19, 2025

#2291 in Rust patterns

Download history 23/week @ 2025-10-22 113/week @ 2025-11-26 151/week @ 2025-12-03 51/week @ 2025-12-10 22/week @ 2025-12-17 5/week @ 2025-12-31 53/week @ 2026-01-07 154/week @ 2026-01-14 39/week @ 2026-01-21 35/week @ 2026-01-28 94/week @ 2026-02-04

325 downloads per month

MIT license

32KB
311 lines

ResultOption

Do your functions often return Result<Option<T>, E>? Then you may find the ResultOption handy.

The API is in a very early stage and not very useful yet. But let's see how it evolves.

It is mainly my personal playground for learning Rust and publishing a crate. Feel free to contribute!

Contributing

Contributions are welcome! Please see CONTRIBUTING.md for development and release guidelines.

Dependencies