☰
TestFn
Required Associated Types
Output
Required Methods
run_test
Implementations on Foreign Types
fn() -> Fut
fn(_: Pool<DB>) -> Fut
fn(_: PoolConnection<DB>) -> Fut
fn(_: PoolOptions<DB>, _: <DB::Connection as Connection>::Options) -> Fut
Implementors
In sqlx_core::testing
?
Trait
sqlx_core
::
testing
::
TestFn
source
·
[
−
]
pub trait TestFn { type
Output
; fn
run_test
(self, args:
TestArgs
) -> Self::
Output
; }
Required Associated Types
source
type
Output
Required Methods
source
fn
run_test
(self, args:
TestArgs
) -> Self::
Output
Implementations on Foreign Types
source
impl<DB, Fut>
TestFn
for
fn
(_:
Pool
<DB>) -> Fut
where
DB:
TestSupport
+
Database
,
DB::
Connection
:
Migrate
,
for<'c> &'c mut DB::
Connection
:
Executor
<'c, Database = DB>,
Fut:
Future
,
Fut::
Output
:
TestTermination
,
type
Output
= <Fut as
Future
>::
Output
source
fn
run_test
(self, args:
TestArgs
) -> Self::
Output
source
impl<DB, Fut>
TestFn
for
fn
(_:
PoolConnection
<DB>) -> Fut
where
DB:
TestSupport
+
Database
,
DB::
Connection
:
Migrate
,
for<'c> &'c mut DB::
Connection
:
Executor
<'c, Database = DB>,
Fut:
Future
,
Fut::
Output
:
TestTermination
,
type
Output
= <Fut as
Future
>::
Output
source
fn
run_test
(self, args:
TestArgs
) -> Self::
Output
source
impl<DB, Fut>
TestFn
for
fn
(_:
PoolOptions
<DB>, _: <DB::
Connection
as
Connection
>::
Options
) -> Fut
where
DB:
Database
+
TestSupport
,
DB::
Connection
:
Migrate
,
for<'c> &'c mut DB::
Connection
:
Executor
<'c, Database = DB>,
Fut:
Future
,
Fut::
Output
:
TestTermination
,
type
Output
= <Fut as
Future
>::
Output
source
fn
run_test
(self, args:
TestArgs
) -> Self::
Output
source
impl<Fut>
TestFn
for
fn
() -> Fut
where
Fut:
Future
,
type
Output
= <Fut as
Future
>::
Output
source
fn
run_test
(self, args:
TestArgs
) -> Self::
Output
Implementors