Trait ClassifiedCmdNodeTunnelFactory

Source
pub trait ClassifiedCmdNodeTunnelFactory<C: WorkerClassification, R: ClassifiedCmdTunnelRead<C>, W: ClassifiedCmdTunnelWrite<C>>:
    Send
    + Sync
    + 'static {
    // Required method
    fn create_tunnel<'life0, 'async_trait>(
        &'life0 self,
        classification: Option<CmdNodeTunnelClassification<C>>,
    ) -> Pin<Box<dyn Future<Output = CmdResult<Splittable<R, W>>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
}

Required Methods§

Source

fn create_tunnel<'life0, 'async_trait>( &'life0 self, classification: Option<CmdNodeTunnelClassification<C>>, ) -> Pin<Box<dyn Future<Output = CmdResult<Splittable<R, W>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Implementors§