#options #invert #helper

result

Helpers for dealing with nested Result and Option types

2 releases (1 stable)

Uses old Rust 2015

1.0.0 Nov 19, 2017
0.0.1 Jul 15, 2016

#2282 in Rust patterns

Download history 6815/week @ 2024-03-14 6846/week @ 2024-03-21 5907/week @ 2024-03-28 6925/week @ 2024-04-04 22175/week @ 2024-04-11 35156/week @ 2024-04-18 20564/week @ 2024-04-25 16468/week @ 2024-05-02 16677/week @ 2024-05-09 28284/week @ 2024-05-16 23194/week @ 2024-05-23 21672/week @ 2024-05-30 21614/week @ 2024-06-06 20652/week @ 2024-06-13 23753/week @ 2024-06-20 16251/week @ 2024-06-27

86,137 downloads per month
Used in 37 crates (6 directly)

MIT license

5KB
56 lines

result-rs

travis-badge release-badge docs-badge license-badge

result provides helpers for dealing with nested Result types.

result provides helpers for dealing with nested Result and Option types. Convert an Option<Result<T, E>> to Result<Option<T>, E> and vice versa.

Documentation

See the documentation for up to date information.


lib.rs:

Helpers for dealing with nested Result and Option types. Convert a Option<Result<T, E>> to Result<Option<T>, E> and vice versa.

use result::prelude::* is recommended in order to import the extension traits into scope.

No runtime deps