unwrapOrElseForResult
Unwraps a result input, returns the content of an Ok(T)
.
If the value is an Err(E)
then it calls def
with its value.
Unwraps a result input, returns the content of an Ok(T)
.
If the value is an Err(E)
then it calls def
with its value.