Maps this Result to U by either applying the transform function to the value if this Result is Ok, or returning the default if this Result is an Err.
Rust: Result.map_or