Enum rust_version::ParseCommitError [] [src]

pub enum ParseCommitError<'a> {
    Format(&'a [u8]),
    Nonexistent(&'a [u8]Either<Error, Error>),
}

Error encountered when parsing a Commit.

Variants

Could not parse the given bytes as a string.

Only a partial commit was given, but the commit didn't exist.

Trait Implementations

impl<'a> Debug for ParseCommitError<'a>
[src]

[src]

Formats the value using the given formatter.

impl<'a> Display for ParseCommitError<'a>
[src]

[src]

Formats the value using the given formatter. Read more

impl<'a> Error for ParseCommitError<'a>
[src]

[src]

A short description of the error. Read more

[src]

The lower-level cause of this error, if any. Read more