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
An error occurred when looking up the object in the database.
Object
The candidate is an object of the given kind
.
Tag
Fields
§
name: BString
The name of the tag.
The candidate is a tag.
Commit
The candidate is a commit.
Trait Implementations§
source§impl 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§
§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