toasty_driver_integration_suite/
setup.rs

1use toasty_core::driver::Driver;
2
3#[async_trait::async_trait]
4pub trait Setup: Send + Sync + 'static {
5    /// Return a new instance of the driver
6    fn driver(&self) -> Box<dyn Driver>;
7
8    /// Delete the table with the specified name. This is used by the test
9    /// runner to cleanup after itself.
10    async fn delete_table(&self, name: &str);
11}