Trait snocat::common::protocol::traits::Client[][src]

pub trait Client {
    type Response: Send + 'static;
    fn handle(
        self,
        addr: RouteAddress,
        tunnel: Box<dyn TunnelStream + Send + 'static>
    ) -> BoxFuture<'_, Result<Self::Response, ClientError>>; }

Associated Types

Required methods

Implementors