Enum fbt_lib::DirDiff[][src]

pub enum DirDiff {
    ExpectedFileMissing {
        expected: PathBuf,
    },
    ExpectedFolderMissing {
        expected: PathBuf,
    },
    UnexpectedFileFound {
        found: PathBuf,
    },
    UnexpectedFolderFound {
        found: PathBuf,
    },
    FileTypeMismatch {
        file: PathBuf,
        expected: String,
        found: String,
    },
    ContentMismatch {
        file: PathBuf,
        expected: String,
        found: String,
    },
}

Variants

ExpectedFileMissing
Show fields

Fields of ExpectedFileMissing

expected: PathBuf
ExpectedFolderMissing
Show fields

Fields of ExpectedFolderMissing

expected: PathBuf
UnexpectedFileFound
Show fields

Fields of UnexpectedFileFound

found: PathBuf
UnexpectedFolderFound
Show fields

Fields of UnexpectedFolderFound

found: PathBuf
FileTypeMismatch
Show fields

Fields of FileTypeMismatch

file: PathBufexpected: Stringfound: String
ContentMismatch
Show fields

Fields of ContentMismatch

file: PathBufexpected: Stringfound: String

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.