| Crates.io | lifterr |
| lib.rs | lifterr |
| version | 0.4.1 |
| created_at | 2022-02-15 18:34:46.70896+00 |
| updated_at | 2022-11-20 15:42:13.803949+00 |
| description | A small set of adapters extending Rust's error-handling capabilities |
| homepage | |
| repository | https://github.com/rvarago/lifterr |
| max_upload_size | |
| id | 532873 |
| size | 17,031 |
A small set of adapters extending Rust's error-handling capabilities.
Rust's Option ships with a suite of combinators meant to ease common tasks requiring handling optionality safely.
This library extends it with a little extra set of capabilities as defined in the OptionExt<A> trait.
Rust's Result ships with a suite of combinators meant to ease common tasks requiring handling failure safely.
This library extends it with a little extra set of capabilities as defined in the ResultExt<A, E> trait.
Moreover, it's offered convenient functions to lift values into successful or failed results with the traits
IntoOk<O> and IntoErr<E>, respectively.