Trait tokio_zmq::socket::ControlledStreamSocket [] [src]

pub trait ControlledStreamSocket<H>: AsControlledSocket where
    H: ControlHandler
{ fn recv(&self) -> MultipartResponse { ... }
fn stream(&self, handler: H) -> ControlledStream<H> { ... } }

This trait is used for types wrapping ControlledSockets. It depends on the type implementing AsControlledSocket, which is analogous to the AsSocket trait's socket(&self) method.

Provided Methods

Receive a single multipart message from the socket.

Receive a stream of multipart messages from the socket.

Implementors