Process a failiure or pass through a success
or_else.Rd
Calls fn()
on the wrapped value of x
if x
is a Failure
, or Nothing
,
otherwise returns x
if it is a Success
or Some
.
This function can be used for control flow based on Result values.