pub enum InvalidVersion {
InvalidCharacter,
LeadingZero,
EmptyField,
// some variants omitted
}
Expand description
Error for the version parser.
Variants§
InvalidCharacter
The version contains invalid characters.
LeadingZero
The version number contains numeric fields with a leading zero.
EmptyField
Empty field (for example, two consecutive dots).
Auto Trait Implementations§
impl Freeze for InvalidVersion
impl RefUnwindSafe for InvalidVersion
impl Send for InvalidVersion
impl Sync for InvalidVersion
impl Unpin for InvalidVersion
impl UnwindSafe for InvalidVersion
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