Enum semver::ReqParseError
[−]
[src]
pub enum ReqParseError { InvalidVersionRequirement, OpAlreadySet, InvalidSigil, VersionComponentsMustBeNumeric, MajorVersionRequired, UnimplementedVersionRequirement, }
A ReqParseError
is returned from methods which parse a string into a VersionReq
. Each
enumeration is one of the possible errors that can occur.
Variants
InvalidVersionRequirement | The given version requirement is invalid. |
OpAlreadySet | You have already provided an operation, such as |
InvalidSigil | The sigil you have written is not correct. |
VersionComponentsMustBeNumeric | All components of a version must be numeric. |
MajorVersionRequired | At least a major version is required. |
UnimplementedVersionRequirement | An unimplemented version requirement. |