[−][src]Module tokio_zmq::prelude
Provide useful types and traits for working with Tokio ZMQ.
Traits
Build | |
ControlHandler | The |
Controllable | This trait is implemented by all Streams with Item = Multipart and Error = Error, it provides the ability to control when the stream stops based on the content of another stream. |
EndHandler | The |
HasBuilder | This trait is implemented by all socket types to allow custom builders to be created |
IntoInnerSocket | The |
SinkSocket | This trait provides the basic Sink support for ZeroMQ Sockets. It depends on |
SinkStreamSocket | This trait is provided for sockets that implement both Sync and Stream |
StreamSocket | This trait provides the basic Stream support for ZeroMQ Sockets. It depends on |
WithEndHandler | This trait is provided to allow for ending a stream based on a Multipart message it receives. |
WithTimeout | This trait allows adding a timeout to any stream with Error = Error. |