pub struct Runner { /* private fields */ }Expand description
Runs suites against a Target.
Implementations§
Source§impl Runner
impl Runner
Sourcepub fn new(options: RunnerOptions) -> Self
pub fn new(options: RunnerOptions) -> Self
A runner with the built-in assertion types.
Sourcepub fn with_registry(self, registry: AssertionRegistry) -> Self
pub fn with_registry(self, registry: AssertionRegistry) -> Self
Use these assertion types (e.g. built-ins plus custom ones).
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Runner
impl !UnwindSafe for Runner
impl Forget for Runner
impl Freeze for Runner
impl Move for Runner
impl Send for Runner
impl Sync for Runner
impl Unpin for Runner
impl UnsafeUnpin for Runner
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