Enum assert_fs::fixture::FixtureKind
source · #[non_exhaustive]
pub enum FixtureKind {
Walk,
CopyFile,
WriteFile,
CreateDir,
Cleanup,
Symlink,
}
Expand description
Fixture initialization cause.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Walk
Failed when walking the source tree.
CopyFile
Failed when copying a file.
WriteFile
Failed when writing to a file.
CreateDir
Failed when creating a directory.
Cleanup
Failed to cleanup fixture.
Symlink
Failed to create symlink
Trait Implementations§
source§impl Clone for FixtureKind
impl Clone for FixtureKind
source§fn clone(&self) -> FixtureKind
fn clone(&self) -> FixtureKind
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more