Trait DirFixture
pub trait DirFixture: Debug {
// Required method
fn write_to_path(&self, root: &Path) -> Result<(), Error>;
}Expand description
Collection of files
Required Methods§
fn write_to_path(&self, root: &Path) -> Result<(), Error>
fn write_to_path(&self, root: &Path) -> Result<(), Error>
Initialize a test fixture directory root
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".
Implementations on Foreign Types§
§impl DirFixture for &str
Available on crate feature dir only.
impl DirFixture for &str
Available on crate feature
dir only.§impl DirFixture for &String
Available on crate feature dir only.
impl DirFixture for &String
Available on crate feature
dir only.§impl DirFixture for &Path
Available on crate feature dir only.
impl DirFixture for &Path
Available on crate feature
dir only.§impl DirFixture for &PathBuf
Available on crate feature dir only.
impl DirFixture for &PathBuf
Available on crate feature
dir only.§impl DirFixture for str
Available on crate feature dir only.
impl DirFixture for str
Available on crate feature
dir only.§impl DirFixture for String
Available on crate feature dir only.
impl DirFixture for String
Available on crate feature
dir only.§impl DirFixture for Path
Available on crate feature dir only.
impl DirFixture for Path
Available on crate feature
dir only.§impl DirFixture for PathBuf
Available on crate feature dir only.
impl DirFixture for PathBuf
Available on crate feature
dir only.