Trait deno_kv::DatabaseHandler
source · pub trait DatabaseHandler {
type DB: Database + 'static;
// Required method
fn open<'life0, 'async_trait>(
&'life0 self,
state: Rc<RefCell<OpState>>,
path: Option<String>
) -> Pin<Box<dyn Future<Output = Result<Self::DB, AnyError>> + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
}