pub enum AnnotatedTagError {
UnsupportedVersion {
found: u8,
supported: u8,
},
UnknownGitFormat(u8),
InvalidGitTag(String),
TargetTagDisagree {
git_target: String,
git_type: &'static str,
has_target_tag: bool,
},
GitTargetDisagree {
git_target: String,
actual: String,
},
UnsupportedGitTarget {
git_target: String,
git_type: &'static str,
},
Decode(Error),
}Variants§
UnsupportedVersion
UnknownGitFormat(u8)
InvalidGitTag(String)
TargetTagDisagree
GitTargetDisagree
UnsupportedGitTarget
Decode(Error)
Trait Implementations§
Source§impl Debug for AnnotatedTagError
impl Debug for AnnotatedTagError
Source§impl Display for AnnotatedTagError
impl Display for AnnotatedTagError
Source§impl Error for AnnotatedTagError
impl Error for AnnotatedTagError
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<Error> for AnnotatedTagError
impl From<Error> for AnnotatedTagError
Source§fn from(source: Error) -> AnnotatedTagError
fn from(source: Error) -> AnnotatedTagError
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for AnnotatedTagError
impl !UnwindSafe for AnnotatedTagError
impl Freeze for AnnotatedTagError
impl Send for AnnotatedTagError
impl Sync for AnnotatedTagError
impl Unpin for AnnotatedTagError
impl UnsafeUnpin for AnnotatedTagError
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