unwrapOrElse abstract method
T
unwrapOrElse(
- T op(
- E
Unwraps a result, yielding the content of an Ok
. If the value is an
Err
then it calls op
with its value.
Implementation
T unwrapOrElse(T Function(E) op);