[−][src]Enum git_checks_core::CommitError
Errors which can occur when working with a commit for a check.
Variants
Command preparation failure.
Fields of Git
source: GitError
The cause of the error.
File name parsing failure.
Fields of FileName
source: FileNameError
The cause of the error.
Failure to extract commit metadata.
Fields of CommitMetadata
The commit metadata output did not match the expected format.
Fields of CommitMetadataOutput
output: String
Git's actual output.
Failure to extract commit message.
Fields of CommitMessage
Failure to list revisions in a branch.
Fields of RevList
Failure to check the ancestory in a branch.
Fields of AncestorCheck
Failure to determine the merge base between two commits.
Fields of MergeBase
Failure to tree diff of a commit.
Fields of DiffTree
Failure to get the patch of a commit.
Fields of DiffPatch
Trait Implementations
impl From<GitError> for CommitError
[src]
impl From<FileNameError> for CommitError
[src]
fn from(source: FileNameError) -> Self
[src]
impl From<CommitError> for RunError
[src]
fn from(source: CommitError) -> Self
[src]
impl Display for CommitError
[src]
impl Debug for CommitError
[src]
impl Error for CommitError
[src]
Auto Trait Implementations
impl Send for CommitError
impl Sync for CommitError
impl Unpin for CommitError
impl !UnwindSafe for CommitError
impl !RefUnwindSafe for CommitError
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,