Constructor takes a Expected and creates a success result. Or takes an E and creates an unexpected result
Returns true if the value is expected
Pass in 2 handlers, one that handles Expected` and another that handles Unexpected
compares a value or an unexpected value. To compare with an unepexted value you must used either Unexpected!E as the rhs or it's type contructor.
Calls std.conv.to!string on T or E
Create an Expect with an expected value
Create an Expect with an unexpected value
The expect type can be used to return values and error codes from functions
The "expected" value is the success value and the unexpected (which is also typed as Unexpected) is the failure value.
The default value is always the init value of the expected case