unwrapErrOr abstract method

F unwrapErrOr(
  1. F defaultValue
)

Returns the encapsulated value if this instance represents Err or the defaultValue if it is Ok.

Implementation

F unwrapErrOr(F defaultValue);