Setup

Trait Setup 

Source
pub trait Setup:
    Send
    + Sync
    + 'static {
    // Required methods
    fn driver(&self) -> Box<dyn Driver>;
    fn delete_table<'life0, 'life1, 'async_trait>(
        &'life0 self,
        name: &'life1 str,
    ) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait;
}

Required Methods§

Source

fn driver(&self) -> Box<dyn Driver>

Return a new instance of the driver

Source

fn delete_table<'life0, 'life1, 'async_trait>( &'life0 self, name: &'life1 str, ) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Delete the table with the specified name. This is used by the test runner to cleanup after itself.

Implementors§