pub struct HarnessConfig {
pub temp_dir: PathBuf,
pub default_timeout: Duration,
pub cleanup_on_success: bool,
pub cleanup_on_failure: bool,
pub rch_binary: PathBuf,
pub rchd_binary: PathBuf,
pub rch_wkr_binary: PathBuf,
pub env_vars: HashMap<String, String>,
}Expand description
Configuration for the test harness
Fields§
§temp_dir: PathBufBase temporary directory for test artifacts
default_timeout: DurationDefault timeout for commands
cleanup_on_success: boolWhether to clean up temp files on success
cleanup_on_failure: boolWhether to clean up temp files on failure
rch_binary: PathBufPath to the rch binary
rchd_binary: PathBufPath to the rchd binary
rch_wkr_binary: PathBufPath to the rch-wkr binary
env_vars: HashMap<String, String>Environment variables to set for all processes
Trait Implementations§
Source§impl Clone for HarnessConfig
impl Clone for HarnessConfig
Source§impl Debug for HarnessConfig
impl Debug for HarnessConfig
Auto Trait Implementations§
impl Freeze for HarnessConfig
impl RefUnwindSafe for HarnessConfig
impl Send for HarnessConfig
impl Sync for HarnessConfig
impl Unpin for HarnessConfig
impl UnsafeUnpin for HarnessConfig
impl UnwindSafe for HarnessConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more