Enum semver::ReqParseError [−][src]
pub enum ReqParseError { InvalidVersionRequirement, OpAlreadySet, InvalidSigil, VersionComponentsMustBeNumeric, InvalidIdentifier, MajorVersionRequired, UnimplementedVersionRequirement, DeprecatedVersionRequirement(VersionReq), }
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
The given version requirement is invalid.
You have already provided an operation, such as =
, ~
, or ^
. Only use one.
The sigil you have written is not correct.
All components of a version must be numeric.
There was an error parsing an identifier.
At least a major version is required.
An unimplemented version requirement.
DeprecatedVersionRequirement(VersionReq)
This form of requirement is deprecated.
Trait Implementations
impl Clone for ReqParseError
[src]
impl Clone for ReqParseError
[src]fn clone(&self) -> ReqParseError
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Error for ReqParseError
[src]
impl Error for ReqParseError
[src]impl From<String> for ReqParseError
[src]
impl From<String> for ReqParseError
[src]fn from(other: String) -> ReqParseError
[src]
impl PartialEq<ReqParseError> for ReqParseError
[src]
impl PartialEq<ReqParseError> for ReqParseError
[src]