Maps the value to another one with a different type. It leaves the Error type unaltered
The mapper method to apply an OK value
a new result with the new mapped value
Maps the error type to another one. It leaves the Ok type and value unaltered
This mapper method is not used for an Ok value
a new result with the new mapped error type and an value
Throws an abort error if the result doesn't represent a value.
A safe mode to throw the error of the Result
Runs the
handlermethod an return the same an unaltered copy of theResult. It could be used to log an output when the result isOkwithout breaking the flow