pub trait DatabaseHandler<DB>: Send + Sync{
// Required method
fn execute<'life0, 'life1, 'async_trait>(
&'life0 self,
ctx: &'life1 mut TestContext<DB>,
) -> Pin<Box<dyn Future<Output = Result<(), DB::Error>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
}
Expand description
Trait for handlers that can be executed in the context of a database