pub enum GitTagNameError {
Empty,
InvalidName,
NotVersionLike,
UnknownKind,
}Expand description
Error returned while parsing tag names.
Variants§
Empty
The supplied tag name was empty.
InvalidName
The supplied tag name used syntax this crate rejects.
NotVersionLike
The supplied tag name was not version-like.
UnknownKind
The supplied tag kind label was not recognized.
Trait Implementations§
Source§impl Clone for GitTagNameError
impl Clone for GitTagNameError
Source§fn clone(&self) -> GitTagNameError
fn clone(&self) -> GitTagNameError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 GitTagNameError
impl Debug for GitTagNameError
Source§impl Display for GitTagNameError
impl Display for GitTagNameError
Source§impl Error for GitTagNameError
impl Error for GitTagNameError
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 GitTagNameError
impl PartialEq for GitTagNameError
Source§fn eq(&self, other: &GitTagNameError) -> bool
fn eq(&self, other: &GitTagNameError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for GitTagNameError
impl Eq for GitTagNameError
impl StructuralPartialEq for GitTagNameError
Auto Trait Implementations§
impl Freeze for GitTagNameError
impl RefUnwindSafe for GitTagNameError
impl Send for GitTagNameError
impl Sync for GitTagNameError
impl Unpin for GitTagNameError
impl UnsafeUnpin for GitTagNameError
impl UnwindSafe for GitTagNameError
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