Applies fn to the contained success value, or returns the default value init if it is an Err.
fn
init
Err
The default value.
The mapped value.
Generated using TypeDoc
Applies
fn
to the contained success value, or returns the default valueinit
if it is anErr
.