Skip to main content

OutboundAdapter

Trait OutboundAdapter 

Source
pub trait OutboundAdapter: Send + Sync {
    // Required methods
    fn provider_tag(&self) -> &'static str;
    fn send<'life0, 'life1, 'async_trait>(
        &'life0 self,
        ctx: OutboundCtx<'life1>,
    ) -> Pin<Box<dyn Future<Output = Result<OutboundOutcome>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait;
}

Required Methods§

Source

fn provider_tag(&self) -> &'static str

Source

fn send<'life0, 'life1, 'async_trait>( &'life0 self, ctx: OutboundCtx<'life1>, ) -> Pin<Box<dyn Future<Output = Result<OutboundOutcome>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Implementors§