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
Format(&'a [u8])
Could not parse the given bytes as a string.
Nonexistent(&'a [u8], Either<Error, Error>)
Only a partial commit was given, but the commit didn't exist.
Trait Implementations
impl<'a> Debug for ParseCommitError<'a>
[src]
impl<'a> Display for ParseCommitError<'a>
[src]
fn fmt(&self, f: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more