[][src]Trait runng::asyncio::pull_stream::AsyncPull

pub trait AsyncPull {
    fn receive(&mut self) -> Option<Receiver<Result<NngMsg>>>;
}

Trait for asynchronous contexts that can receive a stream of messages.

Required methods

fn receive(&mut self) -> Option<Receiver<Result<NngMsg>>>

Asynchronously receive a stream of messages.

Loading content...

Implementors

impl AsyncPull for PairStreamHandle[src]

impl AsyncPull for PullAsyncStream[src]

impl AsyncPull for SubscribeAsyncStream[src]

Loading content...