#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

#2228 in Rust patterns

Download history 5744/week @ 2024-02-27 6114/week @ 2024-03-05 6358/week @ 2024-03-12 7453/week @ 2024-03-19 5829/week @ 2024-03-26 7044/week @ 2024-04-02 12906/week @ 2024-04-09 32267/week @ 2024-04-16 29830/week @ 2024-04-23 16033/week @ 2024-04-30 15647/week @ 2024-05-07 22130/week @ 2024-05-14 28024/week @ 2024-05-21 21713/week @ 2024-05-28 22448/week @ 2024-06-04 17924/week @ 2024-06-11

93,842 downloads per month
Used in 36 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