[−][src]Trait valor_core::Loader
A Loader can fetch plugin handlers from various sources such as the network or the file system
Associated Types
type Handler: RequestHandler
[src]
Required methods
#[must_use]fn load<'life0, 'life1, 'async_trait>(
&'life0 self,
plugin: &'life1 Plugin
) -> Pin<Box<dyn Future<Output = LoadResult<Self>> + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
plugin: &'life1 Plugin
) -> Pin<Box<dyn Future<Output = LoadResult<Self>> + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
Loads the given plugin
Implementations on Foreign Types
impl Loader for ()
[src]
A dummy loader
type Handler = ()
fn load<'life0, 'life1, 'async_trait>(
&'life0 self,
_plugin: &'life1 Plugin
) -> Pin<Box<dyn Future<Output = LoadResult<Self>> + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
_plugin: &'life1 Plugin
) -> Pin<Box<dyn Future<Output = LoadResult<Self>> + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,