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
Name | Value | Comment |
---|---|---|
Err | 0 | The Result is holding an error value. |
Ok | 1 | The Result is holding a success value. |