pub struct TestContext { /* private fields */ }
Implementations§
Source§impl TestContext
impl TestContext
pub fn ignore(&self) -> Result<(), RunError>
pub fn ignore_for(&self, reason: impl Display) -> Result<(), RunError>
pub fn current_mode(&self) -> RunMode
pub fn notify(&self, event: Event) -> Result<()>
pub fn elapased_s(&self) -> Elapsed
pub fn test_name(&self) -> &str
Auto Trait Implementations§
impl Freeze for TestContext
impl RefUnwindSafe for TestContext
impl Send for TestContext
impl Sync for TestContext
impl Unpin for TestContext
impl UnwindSafe for TestContext
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