Skip to content

True Myth / result

result

A Result<T, E> is a type representing the value result of a synchronous operation which may fail, with a successful value of type T or an error of type E.

If the result is a success, it is Ok(value). If the result is a failure, it is Err(reason).

For a deep dive on the type, see the guide.

Classes

Interfaces

Type Aliases

Variables

Functions

References

default

Renames and re-exports Result