The variants in the Result structure.
This API is still experimental, so it may change or be removed in future versions. You should not rely on it for production applications.
Array Variant
The variants in the Result structure.
Constructs a Result whose value represents a failure.
Constructs a Result whose value represents a success.
values(variants)