[][src]Enum git_checks_core::RunError

pub enum RunError {
    Git {
        source: GitError,
    },
    WorkArea {
        source: WorkAreaError,
    },
    Commit {
        source: CommitError,
    },
    UpdateRef {
        base_ref: CommitId,
        output: String,
    },
    RevList {
        base_ref: CommitId,
        new_ref: CommitId,
        output: String,
    },
    // some variants omitted
}

Errors which can occur when running checks.

Variants

Git

Command preparation failure.

Fields of Git

source: GitError

The cause of the error.

WorkArea

An error occurred when working with the workarea.

Fields of WorkArea

source: WorkAreaError

The cause of the error.

Commit

An error occurred when working with a commit.

Fields of Commit

source: CommitError

The cause of the error.

UpdateRef

Failure to create a ref to refer to the checked commit.

Fields of UpdateRef

base_ref: CommitId

The base name of the ref.

output: String

Git's output for the error.

RevList

Failure to list revisions to check.

Fields of RevList

base_ref: CommitId

The base ref for the topic.

new_ref: CommitId

The head of the topic.

output: String

Git's output for the error.

Trait Implementations

impl From<GitError> for RunError[src]

impl From<WorkAreaError> for RunError[src]

impl From<CommitError> for RunError[src]

impl Display for RunError[src]

impl Debug for RunError[src]

impl Error for RunError[src]

Auto Trait Implementations

impl Send for RunError

impl Sync for RunError

impl Unpin for RunError

impl !UnwindSafe for RunError

impl !RefUnwindSafe for RunError

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]