Enum fbt_lib::Failure[][src]

pub enum Failure {
    CmdFileMissing,
    CmdFileInvalid {
        error: Error,
    },
    CantReadCmdFile {
        error: Error,
    },
    InputIsNotDir,
    Other {
        io: Error,
    },
    CommandFailed {
        io: Error,
    },
    UnexpectedStatusCode {
        expected: i32,
        output: Output,
    },
    StdoutMismatch {
        expected: String,
        output: Output,
    },
    StderrMismatch {
        expected: String,
        output: Output,
    },
    DirDiffError {
        error: DirDiffError,
    },
    OutputMismatch {
        diff: DirDiff,
    },
}

Variants

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: Error
UnexpectedStatusCode
Show fields

Fields of UnexpectedStatusCode

expected: i32output: Output
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

impl Debug for Failure[src]

Auto Trait Implementations

impl !RefUnwindSafe for Failure

impl Send for Failure

impl Sync for Failure

impl Unpin for Failure

impl !UnwindSafe for Failure

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DebugAny for T where
    T: Any + Debug

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> UnsafeAny for T where
    T: Any