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

Fields

name: BString

The name of the tag.

The candidate is a tag.

Commit

Fields

date: Time

The date of the commit.

title: BString

The subject line.

The candidate is a commit.

Trait Implementations

Formats the value using the given formatter. Read more

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The alignment of pointer.

The type for initializers.

Initializes a with the given initializer. Read more

Dereferences the given pointer. Read more

Mutably dereferences the given pointer. Read more

Drops the object pointed to by the given pointer. Read more

Should always be Self

Converts the given value to a [CompactString]. Read more

Converts the given value to a String. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.