pub enum Failure {
Show 14 variants Skipped { reason: String, }, CmdFileMissing, CmdFileInvalid { error: Error, }, CantReadCmdFile { error: Error, }, InputIsNotDir, Other { io: Error, }, CommandFailed { io: Error, reason: &'static str, }, UnexpectedStatusCode { expected: i32, output: Output, }, CantReadOutput { output: Output, reason: &'static str, }, StdoutMismatch { expected: String, output: Output, }, StderrMismatch { expected: String, output: Output, }, DirDiffError { error: DirDiffError, }, OutputMismatch { diff: DirDiff, }, FixMismatch,
}

Variants

Skipped

Fields

reason: String

CmdFileMissing

CmdFileInvalid

Fields

error: Error

CantReadCmdFile

Fields

error: Error

InputIsNotDir

Other

Fields

io: Error

CommandFailed

Fields

io: Error
reason: &'static str

UnexpectedStatusCode

Fields

expected: i32
output: Output

CantReadOutput

Fields

output: Output
reason: &'static str

StdoutMismatch

Fields

expected: String
output: Output

StderrMismatch

Fields

expected: String
output: Output

DirDiffError

Fields

error: DirDiffError

OutputMismatch

Fields

diff: DirDiff

FixMismatch

Trait Implementations

Formats the value using the given formatter. Read more

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

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self

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.