State

Description

The representation of an Result's state, which can either be #Ok to represent it has a success value, or #Err for when it is holding an error value.

Declared at: sus/result/result.h:71

Enumerators

NameValueComment
Err0The Result is holding an error value.
Ok1The Result is holding a success value.