pub enum VersionSetParseError {
EmptyPackageName(String),
BadConstraintSpec(String),
BadVersion(<Version as TryFrom<&'static str>>::Error),
}
Expand description
The error returned when failing to parse a VersionSet
.
Variants§
EmptyPackageName(String)
The package name was empty. Contains the trace information for where the error was found.
BadConstraintSpec(String)
There was an error parsing the constraint. Contains the trace information for where the error was found.
BadVersion(<Version as TryFrom<&'static str>>::Error)
There was an error parsing the Version
.
Trait Implementations§
Source§impl Debug for VersionSetParseError
impl Debug for VersionSetParseError
Auto Trait Implementations§
impl Freeze for VersionSetParseError
impl RefUnwindSafe for VersionSetParseError
impl Send for VersionSetParseError
impl Sync for VersionSetParseError
impl Unpin for VersionSetParseError
impl UnwindSafe for VersionSetParseError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more