Enum git_commitgraph::graph::verify::Error[][src]

pub enum Error<E: Error + 'static> {
    BaseGraphCount {
        actual: u8,
        expected: u8,
        path: PathBuf,
    },
    BaseGraphId {
        actual: ObjectId,
        expected: ObjectId,
        index: u8,
        path: PathBuf,
    },
    Commit(Error),
    File {
        err: Error<Infallible>,
        path: PathBuf,
    },
    Generation {
        actual: u32,
        expected: u32,
        id: ObjectId,
    },
    ParentOutOfRange {
        id: ObjectId,
        max_valid_pos: Position,
        parent_pos: Position,
    },
    Processor(E),
    TooManyFiles(usize),
}
Expand description

The error used in verify_integrity().

Variants

BaseGraphCount

Fields of BaseGraphCount

actual: u8expected: u8path: PathBuf
BaseGraphId

Fields of BaseGraphId

actual: ObjectIdexpected: ObjectIdindex: u8path: PathBuf
Commit

Tuple Fields of Commit

0: Error
File

Fields of File

err: Error<Infallible>path: PathBuf
Generation

Fields of Generation

actual: u32expected: u32id: ObjectId
ParentOutOfRange

Fields of ParentOutOfRange

id: ObjectIdmax_valid_pos: Positionparent_pos: Position
Processor

Tuple Fields of Processor

0: E
TooManyFiles

Tuple Fields of TooManyFiles

0: usize

Trait Implementations

Formats the value using the given formatter. Read more

Formats the value using the given formatter. Read more

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

🔬 This is a nightly-only experimental API. (backtrace)

Returns a stack backtrace, if available, of where this error occurred. Read more

👎 Deprecated since 1.42.0:

use the Display impl or to_string()

👎 Deprecated since 1.33.0:

replaced by Error::source, which can support downcasting

Performs the conversion.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

Converts the given value to a String. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.