pub struct TestScopeGuard;Expand description
RAII guard that runs all test-scope teardowns when the test ends — even on
panic. Inserted by the #[tpt_fixture] macro at the top of each test.
Trait Implementations§
Source§impl Drop for TestScopeGuard
impl Drop for TestScopeGuard
Auto Trait Implementations§
impl Freeze for TestScopeGuard
impl RefUnwindSafe for TestScopeGuard
impl Send for TestScopeGuard
impl Sync for TestScopeGuard
impl Unpin for TestScopeGuard
impl UnsafeUnpin for TestScopeGuard
impl UnwindSafe for TestScopeGuard
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
Source§impl<T> IntoFixture<T> for T
impl<T> IntoFixture<T> for T
Source§fn into_fixture(self) -> FixtureInit<T>
fn into_fixture(self) -> FixtureInit<T>
Convert this init result into a
FixtureInit.