time_primitives::gmpTrait IConnect
Source pub trait IConnect:
Send
+ Sync
+ 'static {
// Required methods
fn chain(&self) -> &dyn IChain;
fn connect<'life0, 'async_trait>(
&'life0 self,
url: String,
) -> Pin<Box<dyn Future<Output = Result<Arc<dyn IConnector>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn connect_admin<'life0, 'async_trait>(
&'life0 self,
url: String,
) -> Pin<Box<dyn Future<Output = Result<Arc<dyn IConnectorAdmin>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
}