#option #result #invert

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

#15 in #result

Download history 7272/week @ 2022-01-24 7271/week @ 2022-01-31 7235/week @ 2022-02-07 7055/week @ 2022-02-14 4626/week @ 2022-02-21 4328/week @ 2022-02-28 4755/week @ 2022-03-07 4423/week @ 2022-03-14 5016/week @ 2022-03-21 6300/week @ 2022-03-28 4912/week @ 2022-04-04 5664/week @ 2022-04-11 5231/week @ 2022-04-18 5445/week @ 2022-04-25 5946/week @ 2022-05-02 6247/week @ 2022-05-09

23,389 downloads per month
Used in 26 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