pub struct Slots { /* private fields */ }Expand description
The slots one stamped suite’s scenarios share. A suite’s stamping macro declares one as a
static beside the tests it writes, and each test holds a slot from before its environment
starts until the scenario has returned; an environment or link author names it nowhere. Each
scenario runs on its own test thread, so a slot is waited for by blocking that thread before
the scenario’s runtime starts.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for Slots
impl Forget for Slots
impl Move for Slots
impl RefUnwindSafe for Slots
impl Send for Slots
impl Sync for Slots
impl Unpin for Slots
impl UnsafeUnpin for Slots
impl UnwindSafe for Slots
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