pub trait TestDirExt{
// Required method
fn spawn_child_with_command(
self,
cmd: &str,
args: Arguments,
) -> Result<TestChild<Self>>;
}Expand description
Extension trait for methods on tempdir::TempDir for using it as a test
directory with an arbitrary command.
This trait is separate from ZebradTestDirExt, so that we can test
zebra_test::command without running zebrad.
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".