pub struct SemverError;Expand description
A version or range could not be parsed.
This error does not retain the input or provide detailed diagnostics.
Trait Implementations§
Source§impl Clone for SemverError
impl Clone for SemverError
impl Copy for SemverError
Source§impl Debug for SemverError
impl Debug for SemverError
Source§impl Display for SemverError
impl Display for SemverError
impl Eq for SemverError
Source§impl Error for SemverError
impl Error for SemverError
1.30.0 · 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 PartialEq for SemverError
impl PartialEq for SemverError
impl StructuralPartialEq for SemverError
Auto Trait Implementations§
impl Freeze for SemverError
impl RefUnwindSafe for SemverError
impl Send for SemverError
impl Sync for SemverError
impl Unpin for SemverError
impl UnsafeUnpin for SemverError
impl UnwindSafe for SemverError
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