resultish 0.1.1

A Result with a third state to represent both success and failure
Documentation

resultish

This crate contains the Resultish type, which represents success (Ok), failure (Err), or Both. It can be converted into a Result:

  • leniently, where Both is mapped to Ok, and the failure value is discarded.
  • strictly, where Both is mapped to Err, and the success value is discarded.