Map Ok result to new value
Ok
The value type of the Ok result.
The value type of the new Ok result.
Result to map
Mapping function to run on ok result. The value parameter will be of type T.
value
T
Result containing mapped value
Map
Ok
result to new value