lifterr

Crates.iolifterr
lib.rslifterr
version0.4.1
sourcesrc
created_at2022-02-15 18:34:46.70896
updated_at2022-11-20 15:42:13.803949
descriptionA small set of adapters extending Rust's error-handling capabilities
homepage
repositoryhttps://github.com/rvarago/lifterr
max_upload_size
id532873
size17,031
Rafael Varago (rvarago)

documentation

https://docs.rs/lifterr

README

lifterr

A small set of adapters extending Rust's error-handling capabilities.

github crates.io docs.rs

Option

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.

Result

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.

Commit count: 33

cargo fmt