Skip to main content

CoreConnectorAdapter

Trait CoreConnectorAdapter 

Source
pub trait CoreConnectorAdapter: Send + Sync {
    // Required methods
    fn name(&self) -> &str;
    fn invoke_core<'life0, 'async_trait>(
        &'life0 self,
        command: ConnectorCommand,
    ) -> Pin<Box<dyn Future<Output = Result<ConnectorOutcome, ConnectorError>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
}

Required Methods§

Source

fn name(&self) -> &str

Source

fn invoke_core<'life0, 'async_trait>( &'life0 self, command: ConnectorCommand, ) -> Pin<Box<dyn Future<Output = Result<ConnectorOutcome, ConnectorError>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Implementors§