DirFixture

Trait DirFixture 

Source
pub trait DirFixture: Debug {
    // Required method
    fn write_to_path(&self, root: &Path) -> Result<(), Error>;
}
Expand description

Collection of files

Required Methods§

Source

fn write_to_path(&self, root: &Path) -> Result<(), Error>

Initialize a test fixture directory root

Implementations on Foreign Types§

Source§

impl DirFixture for &str

Available on crate feature dir only.
Source§

fn write_to_path(&self, root: &Path) -> Result<(), Error>

Source§

impl DirFixture for &String

Available on crate feature dir only.
Source§

fn write_to_path(&self, root: &Path) -> Result<(), Error>

Source§

impl DirFixture for &Path

Available on crate feature dir only.
Source§

fn write_to_path(&self, root: &Path) -> Result<(), Error>

Source§

impl DirFixture for &PathBuf

Available on crate feature dir only.
Source§

fn write_to_path(&self, root: &Path) -> Result<(), Error>

Source§

impl DirFixture for str

Available on crate feature dir only.
Source§

fn write_to_path(&self, root: &Path) -> Result<(), Error>

Source§

impl DirFixture for String

Available on crate feature dir only.
Source§

fn write_to_path(&self, root: &Path) -> Result<(), Error>

Source§

impl DirFixture for Path

Available on crate feature dir only.
Source§

fn write_to_path(&self, root: &Path) -> Result<(), Error>

Source§

impl DirFixture for PathBuf

Available on crate feature dir only.
Source§

fn write_to_path(&self, root: &Path) -> Result<(), Error>

Source§

impl<P, S> DirFixture for &[(P, S)]
where P: AsRef<Path> + Debug, S: AsRef<[u8]> + Debug,

Source§

fn write_to_path(&self, root: &Path) -> Result<(), Error>

Source§

impl<const N: usize, P, S> DirFixture for [(P, S); N]
where P: AsRef<Path> + Debug, S: AsRef<[u8]> + Debug,

Source§

fn write_to_path(&self, root: &Path) -> Result<(), Error>

Implementors§