pub struct TestContext {
pub pool: Pool,
/* private fields */
}Expand description
Test context holding the pool and cleanup info. Drops the schema on cleanup.
Fields§
§pool: PoolThe connection pool, scoped to the isolated test schema.
Trait Implementations§
Source§impl Debug for TestContext
impl Debug for TestContext
Auto Trait Implementations§
impl Freeze for TestContext
impl RefUnwindSafe for TestContext
impl Send for TestContext
impl Sync for TestContext
impl Unpin for TestContext
impl UnsafeUnpin 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