Enum fbt_lib::Failure[][src]

pub enum Failure {
Show 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, },
}

Variants

Skipped
Show fields

Fields of Skipped

reason: String
CmdFileMissing
CmdFileInvalid
Show fields

Fields of CmdFileInvalid

error: Error
CantReadCmdFile
Show fields

Fields of CantReadCmdFile

error: Error
InputIsNotDir
Other
Show fields

Fields of Other

io: Error
CommandFailed
Show fields

Fields of CommandFailed

io: Errorreason: &'static str
UnexpectedStatusCode
Show fields

Fields of UnexpectedStatusCode

expected: i32output: Output
CantReadOutput
Show fields

Fields of CantReadOutput

output: Outputreason: &'static str
StdoutMismatch
Show fields

Fields of StdoutMismatch

expected: Stringoutput: Output
StderrMismatch
Show fields

Fields of StderrMismatch

expected: Stringoutput: Output
DirDiffError
Show fields

Fields of DirDiffError

error: DirDiffError
OutputMismatch
Show fields

Fields of OutputMismatch

diff: DirDiff

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

Performs the conversion.

Performs the conversion.

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.