pub enum AssertionEvent {
Success(Assertion<()>),
Failure(Assertion<()>),
SessionCompleted,
}Expand description
Event types that can be emitted within the testing system
Variants§
Success(Assertion<()>)
A successful assertion
Failure(Assertion<()>)
A failed assertion
SessionCompleted
Test session completed
Trait Implementations§
Source§impl Clone for AssertionEvent
impl Clone for AssertionEvent
Source§fn clone(&self) -> AssertionEvent
fn clone(&self) -> AssertionEvent
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for AssertionEvent
impl RefUnwindSafe for AssertionEvent
impl Send for AssertionEvent
impl Sync for AssertionEvent
impl Unpin for AssertionEvent
impl UnwindSafe for AssertionEvent
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