pub struct RunnerArgs {
pub timeout: Duration,
pub mem_lock_mode: MemLockMode,
pub allow_working_set_resize: bool,
pub allow_multithread: bool,
pub allow_early_termination: bool,
}Expand description
A set of arguments that define the behavior of Runner
Fields§
§timeout: DurationHow long should Runner run the test suite before timing out
mem_lock_mode: MemLockModeWhether memory will be locked before testing and whether the requested memory size of testing can be reduced to accomodate memory locking If memory locking failed but is required, Runner returns with error
allow_working_set_resize: boolWhether the process working set can be resized to accomodate memory locking This argument is only meaningful for Windows
allow_multithread: boolWhether mulithreading is enabled
allow_early_termination: boolWhether Runner returns immediately if a test fails or continues until all tests are run
Trait Implementations§
Source§impl Debug for RunnerArgs
impl Debug for RunnerArgs
Source§impl<'de> Deserialize<'de> for RunnerArgs
impl<'de> Deserialize<'de> for RunnerArgs
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for RunnerArgs
impl RefUnwindSafe for RunnerArgs
impl Send for RunnerArgs
impl Sync for RunnerArgs
impl Unpin for RunnerArgs
impl UnwindSafe for RunnerArgs
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