kanidm_unix_resolver::db

Trait KeyStore

source
pub trait KeyStore {
    type Txn<'db>
       where Self: 'db;

    // Required method
    fn write_keystore<'db, 'async_trait>(
        &'db self,
    ) -> Pin<Box<dyn Future<Output = Self::Txn<'db>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'db: 'async_trait;
}

Required Associated Types§

source

type Txn<'db> where Self: 'db

Required Methods§

source

fn write_keystore<'db, 'async_trait>( &'db self, ) -> Pin<Box<dyn Future<Output = Self::Txn<'db>> + Send + 'async_trait>>
where Self: 'async_trait, 'db: 'async_trait,

Object Safety§

This trait is not object safe.

Implementors§