Enum honestintervals::interval::ParseIntervalError
[−]
[src]
pub enum ParseIntervalError { MissingOpeningBracket, MissingClosingBracket, InvalidNumberOfBounds, BoundsParseError, InvalidBounds, }
Interval parsing error enum.
Variants
MissingOpeningBracket
The first character of the strict is anything other than '<'
.
MissingClosingBracket
The first character of the strict is anything other than '>'
.
InvalidNumberOfBounds
There are zero, one or more than two bounds between brackets.
BoundsParseError
There was an error while parsing a bound.
InvalidBounds
Bounds do not satisfy interval criteria. See interval::Interval::new
for details.