[][src]Enum git_workarea::WorkAreaError

pub enum WorkAreaError {
    CreateTempDirectory {
        source: Error,
    },
    CreateWorkTree {
        source: Error,
    },
    SubmoduleSetup {
        intent: SubmoduleIntent,
        submodule: String,
        source: Error,
    },
    Git {
        source: GitError,
    },
    // some variants omitted
}

Errors which may occur when using a workarea.

This enum is non_exhaustive, but cannot be marked as such until it is stable. In the meantime, there is a hidden variant.

Variants

CreateTempDirectory

Failed to create a temporary directory for the workarea.

Fields of CreateTempDirectory

source: Error

The cause of the failure.

CreateWorkTree

Failed to create a directory to hold the work tree.

Fields of CreateWorkTree

source: Error

The cause of the failure.

SubmoduleSetup

Failure to set up submodules in the workarea.

Fields of SubmoduleSetup

intent: SubmoduleIntent

The action that failed.

submodule: String

The submodule that failed.

source: Error

The cause of the failure.

Git

A git operation failed.

Fields of Git

source: GitError

The cause of the failure.

Trait Implementations

impl Debug for WorkAreaError[src]

impl Display for WorkAreaError[src]

impl Error for WorkAreaError[src]

impl From<GitError> for WorkAreaError[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

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

impl<T, U> Into<U> for T where
    U: From<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.