Skip to main content

Result<T, E>

Result<T, E> = Ok<T, E> | Err<T, E>

Union type representing either a successful result (Ok) or an error result (Err).


Type Parametersโ€‹

T: Tโ€‹

The type of the success value

E: Eโ€‹

The type of the error value


Sinceโ€‹

2.0.0