pub struct PreparedAssertion { /* private fields */ }Expand description
An assertion ready to evaluate, with its reporting settings.
Implementations§
Source§impl PreparedAssertion
impl PreparedAssertion
Sourcepub async fn run(&self, ctx: AssertionContext<'_>) -> AssertionResult
pub async fn run(&self, ctx: AssertionContext<'_>) -> AssertionResult
Evaluate and wrap the outcome into a reported result.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for PreparedAssertion
impl !UnwindSafe for PreparedAssertion
impl Forget for PreparedAssertion
impl Freeze for PreparedAssertion
impl Move for PreparedAssertion
impl Send for PreparedAssertion
impl Sync for PreparedAssertion
impl Unpin for PreparedAssertion
impl UnsafeUnpin for PreparedAssertion
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