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