[][src]Trait runng::asyncio::request::AsyncRequest

pub trait AsyncRequest {
    fn send(&mut self, msg: NngMsg) -> Receiver<Result<NngMsg>>;
}

Trait for async contexts that can send a request and receive a reply.

Required methods

fn send(&mut self, msg: NngMsg) -> Receiver<Result<NngMsg>>

Asynchronously send a request and return a future for the reply.

Loading content...

Implementors

impl AsyncRequest for RequestAsyncHandle[src]

Loading content...