Trait Outbound

Source
pub trait Outbound<T = AnyTcp, I = AnyUdpRecv, O = AnyUdpSend>:
    Send
    + Sync
    + Unpin {
    // Required method
    fn handle<'life0, 'async_trait>(
        &'life0 mut self,
        req: ProxyRequest<T, I, O>,
    ) -> Pin<Box<dyn Future<Output = Result<(), SError>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
}

Required Methods§

Source

fn handle<'life0, 'async_trait>( &'life0 mut self, req: ProxyRequest<T, I, O>, ) -> Pin<Box<dyn Future<Output = Result<(), SError>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Implementors§