pub enum IncrementError {
InvalidIdentifier(String),
InvalidIncrementArgument(String),
NotAPrerelease(String),
Overflow,
}Variants§
Trait Implementations§
Source§impl Clone for IncrementError
impl Clone for IncrementError
Source§fn clone(&self) -> IncrementError
fn clone(&self) -> IncrementError
Returns a duplicate 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 IncrementError
impl Debug for IncrementError
Source§impl Display for IncrementError
impl Display for IncrementError
Source§impl Error for IncrementError
impl Error for IncrementError
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 IncrementError
impl PartialEq for IncrementError
impl Eq for IncrementError
impl StructuralPartialEq for IncrementError
Auto Trait Implementations§
impl Freeze for IncrementError
impl RefUnwindSafe for IncrementError
impl Send for IncrementError
impl Sync for IncrementError
impl Unpin for IncrementError
impl UnwindSafe for IncrementError
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