Sealed
A Success<T, E> represents a successful computation that returns a value of type T.
Success<T, E>
T
T in Failure<T, E> is the type of the value that would have been returned in case of success. It's present only to allow type safety of the isSuccess method.
Failure<T, E>
isSuccess
the failure error type
Readonly
A
Success<T, E>represents a successful computation that returns a value of typeT.TinFailure<T, E>is the type of the value that would have been returned in case of success. It's present only to allow type safety of theisSuccessmethod.