Enum git_repository::revision::spec::parse::error::CandidateInfo
source · pub enum CandidateInfo {
FindError {
source: Error,
},
Object {
kind: Kind,
},
Tag {
name: BString,
},
Commit {
date: Time,
title: BString,
},
}
Expand description
Additional information about candidates that caused ambiguity.
Variants
FindError
Fields
source: Error
The reported error.
An error occurred when looking up the object in the database.
Object
Fields
kind: Kind
The kind of the object.
The candidate is an object of the given kind
.
Tag
The candidate is a tag.
Commit
The candidate is a commit.
Trait Implementations
sourceimpl Debug for CandidateInfo
impl Debug for CandidateInfo
Auto Trait Implementations
impl !RefUnwindSafe for CandidateInfo
impl Send for CandidateInfo
impl Sync for CandidateInfo
impl Unpin for CandidateInfo
impl !UnwindSafe for CandidateInfo
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T> Pointable for T
impl<T> Pointable for T
impl<T> ToCompactString for Twhere
T: Display,
impl<T> ToCompactString for Twhere
T: Display,
fn to_compact_string(&self) -> CompactString
fn to_compact_string(&self) -> CompactString
Converts the given value to a [
CompactString
]. Read more