pub struct PetriTestParams<'a> {
pub test_name: &'a str,
pub logger: &'a PetriLogSource,
pub post_test_hooks: &'a mut Vec<PetriPostTestHook>,
}Expand description
Parameters passed to a RunTest when it is run.
Fields§
§test_name: &'a strThe name of the running test.
logger: &'a PetriLogSourceThe logger for the test.
post_test_hooks: &'a mut Vec<PetriPostTestHook>Any hooks that want to run after the test completes.
Auto Trait Implementations§
impl<'a> Freeze for PetriTestParams<'a>
impl<'a> !RefUnwindSafe for PetriTestParams<'a>
impl<'a> !Send for PetriTestParams<'a>
impl<'a> !Sync for PetriTestParams<'a>
impl<'a> Unpin for PetriTestParams<'a>
impl<'a> !UnwindSafe for PetriTestParams<'a>
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