A Result<T, E> is a value that represents either a successful computation (Ok<T>) or an error (Err<E>).
Result<T, E>
Ok<T>
Err<E>
The type of the success value
The type of the error value
ResultMethods for more information on the methods available on Result.
Result
A
Result<T, E>
is a value that represents either a successful computation (Ok<T>
) or an error (Err<E>
).