Res<S, F>.ok constructor
Res<S, F>.ok (
- S value
A Result holding the value an operation produced.
Implementation
Res.ok(S value) : this._(Success(value));
A Result holding the value an operation produced.
Res.ok(S value) : this._(Success(value));