pub struct Config { /* private fields */ }Expand description
How a suite is run; see Fixture::config.
Implementations§
Source§impl Config
impl Config
Sourcepub fn lock_name(self, name: impl Into<String>) -> Self
pub fn lock_name(self, name: impl Into<String>) -> Self
What the run lock is called inside whichever directory --lock names.
Sourcepub fn sessions_dir(self, name: impl Into<String>) -> Self
pub fn sessions_dir(self, name: impl Into<String>) -> Self
Where under the build directory the record of every run is kept, which
is what --last-session reads the newest of. Two suites sharing a
build directory name one each, or each picks up the other’s runs.
Trait Implementations§
Auto Trait Implementations§
impl Forget for Config
impl Freeze for Config
impl Move for Config
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnsafeUnpin for Config
impl UnwindSafe for Config
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