Skip to content

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

License

Notifications You must be signed in to change notification settings

rvarago/lifterr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages