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.
Applies
fnto the contained success value, or returns the default valueinitif it is anErr.