DatabaseManager

Trait DatabaseManager 

Source
pub trait DatabaseManager: Send + Sync {
    // Required method
    fn restart<'life0, 'life1, 'async_trait>(
        &'life0 self,
        database: &'life1 GreptimeDB,
    ) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait;
}

Required Methods§

Source

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

Implementations on Foreign Types§

Source§

impl DatabaseManager for ()

Source§

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

Implementors§