[][src]Enum git_checks_core::AttributeError

pub enum AttributeError {
    Git {
        source: GitError,
    },
    CheckAttr {
        attribute: String,
        path: PathBuf,
        output: String,
    },
    MissingValue {
        attribute: String,
        path: PathBuf,
    },
    // some variants omitted
}

Errors which can occur when querying an attribute.

Variants

Git

Command preparation failure.

Fields of Git

source: GitError

The cause of the error.

CheckAttr

Failure when getting the attribute from git.

Fields of CheckAttr

attribute: String

The attribute being queried.

path: PathBuf

The path being queried.

output: String

Git's output for the error.

MissingValue

Failure to parse Git's attribute output.

Fields of MissingValue

attribute: String

The attribute being queried.

path: PathBuf

The path being queried.

Trait Implementations

impl From<GitError> for AttributeError[src]

impl Display for AttributeError[src]

impl Debug for AttributeError[src]

impl Error for AttributeError[src]

Auto Trait Implementations

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]