Crate fallback_if

Source

Traitsยง

FallbackIf
Fallback to an alternative, if the previous result outcome was a fail, and a predicate is true.