An Ok instance is the successful variant instance of the
Result type, representing a successful outcome from an operation
which may fail. For a full discussion, see the module docs.
Typeparam
T The type wrapped in this Ok variant of Result.
Typeparam
E The type which would be wrapped in an Err variant of Result.
An
Ok
instance is the successful variant instance of theResult
type, representing a successful outcome from an operation which may fail. For a full discussion, see the module docs.Typeparam
T The type wrapped in this
Ok
variant ofResult
.Typeparam
E The type which would be wrapped in an
Err
variant ofResult
.