Const
Discriminant for Ok and Err variants of the Result type.
Ok
Err
Result
You can use the discriminant via the variant property of Result instances if you need to match explicitly on it.
variant
Discriminant for
Ok
andErr
variants of theResult
type.You can use the discriminant via the
variant
property ofResult
instances if you need to match explicitly on it.