Trait arti_client::DirProviderBuilder

source ·
pub trait DirProviderBuilder<R: Runtime>: Send + Sync {
    // Required method
    fn build(
        &self,
        runtime: R,
        store: DirMgrStore<R>,
        circmgr: Arc<CircMgr<R>>,
        config: DirMgrConfig
    ) -> Result<Arc<dyn DirProvider + 'static>>;
}
Available on crate feature experimental-api only.
Expand description

An object that knows how to construct some kind of DirProvider.

Note that this type is only actually exposed when the experimental-api feature is enabled.

Required Methods§

source

fn build( &self, runtime: R, store: DirMgrStore<R>, circmgr: Arc<CircMgr<R>>, config: DirMgrConfig ) -> Result<Arc<dyn DirProvider + 'static>>

Implementors§