Enum branchless::util::ResolveCommitsResult[][src]

pub enum ResolveCommitsResult<'repo> {
    Ok {
        commits: Vec<Commit<'repo>>,
    },
    CommitNotFound {
        commit: String,
    },
}
Expand description

The result of attempting to resolve commits.

Variants

Ok

All commits were successfully resolved.

Show fields

Fields of Ok

commits: Vec<Commit<'repo>>

The commits.

CommitNotFound

The first commit which couldn’t be resolved.

Show fields

Fields of CommitNotFound

commit: String

The identifier of the commit, as provided by the user.

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

Performs the conversion.

Performs the conversion.

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.

Calls the given closure and return the result. Read more

Calls the given closure on self.

Calls the given closure on self.

Calls the given closure if condition == true.