Repository navigation
Version 0.9.2
Added
- Added
then_result()andthen_result_with()methods tobool::Thentrait- Transform a
boolinto aResult<T, E>- returnsOk(on_true)when true andErr(on_false)when false
- Transform a
then_result() and then_result_with() methods to bool::Then trait
bool into a Result<T, E> - returns Ok(on_true) when true and Err(on_false) when false