Trait ClientLoader
Source pub trait ClientLoader: Send + Sync {
// Required methods
fn load_clients<'life0, 'async_trait>(
&'life0 mut self,
) -> Pin<Box<dyn Future<Output = Result<(), Box<dyn Error + Send + Sync>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn find(&self, name: &str) -> Option<Box<dyn Client>>;
fn run<'life0, 'async_trait>(
&'life0 mut self,
) -> Pin<Box<dyn Future<Output = Receiver<Message>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
}