pub enum VersionTripleError {
MajorInvalid {
version: String,
source: ParseIntError,
},
MinorInvalid {
version: String,
source: ParseIntError,
},
PatchInvalid {
version: String,
source: ParseIntError,
},
VersionStringInvalid {
version: String,
},
}
Variants§
Trait Implementations§
source§impl Debug for VersionTripleError
impl Debug for VersionTripleError
source§impl Display for VersionTripleError
impl Display for VersionTripleError
source§impl Error for VersionTripleError
impl Error for VersionTripleError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl From<VersionTripleError> for RustVersionError
impl From<VersionTripleError> for RustVersionError
source§fn from(source: VersionTripleError) -> Self
fn from(source: VersionTripleError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for VersionTripleError
impl RefUnwindSafe for VersionTripleError
impl Send for VersionTripleError
impl Sync for VersionTripleError
impl Unpin for VersionTripleError
impl UnwindSafe for VersionTripleError
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