pub enum SemVerError {
ParseError(String),
}
Expand description
An error type for this crate
Currently, just a generic error. Will make this nicer later.
Variants§
Trait Implementations§
Source§impl Clone for SemVerError
impl Clone for SemVerError
Source§fn clone(&self) -> SemVerError
fn clone(&self) -> SemVerError
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for SemVerError
impl Debug for SemVerError
Source§impl Display for SemVerError
impl Display for SemVerError
Source§impl Error for SemVerError
impl Error for SemVerError
Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
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
Source§impl PartialEq for SemVerError
impl PartialEq for SemVerError
Source§impl PartialOrd for SemVerError
impl PartialOrd 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 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