pub trait Manager {
    // Required methods
    fn current<'life0, 'async_trait>(
        &'life0 self
    ) -> Pin<Box<dyn Future<Output = Result<VersionedDatabase>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn previous<'life0, 'async_trait>(
        &'life0 self
    ) -> Pin<Box<dyn Future<Output = Option<VersionedDatabase>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn close<'life0, 'async_trait>(
        &'life0 self
    ) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
}
Expand description

Required Methods§

source

fn current<'life0, 'async_trait>( &'life0 self ) -> Pin<Box<dyn Future<Output = Result<VersionedDatabase>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

source

fn previous<'life0, 'async_trait>( &'life0 self ) -> Pin<Box<dyn Future<Output = Option<VersionedDatabase>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

source

fn close<'life0, 'async_trait>( &'life0 self ) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

Implementors§