pub enum RefSearchError {
    Failure(String),
    IOError(Error),
    NotFound,
    ParsingFailure(String),
    UTF8Decode(FromUtf8Error),
}
Expand description

Failed to find reference on remote

Variants

Failure(String)

Thrown when git-ls-remote(1) fails to execute.

IOError(Error)

Generic IO error

NotFound

Failed to find reference

ParsingFailure(String)

git-ls-remote(1) returned garbage on STDOUT

UTF8Decode(FromUtf8Error)

Failed to decode strings

Trait Implementations

Formats the value using the given formatter. Read more

Performs the conversion.

Performs the conversion.

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 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.