Successful result with value value.
Type of the value.
Returns the error associated. In case of Success, error will be null.
Returns the value associated. In case of Failure, value will be null.
True if the result is an error, false otherwise.
True if the result was successful, false otherwise.