Struct zkmq::ZkMQ [−][src]
pub struct ZkMQ { /* fields omitted */ }
Implementations
Consume messages from the Queue
Optional Constraints can be provided as a Filters struct. Filters are basically a blacklist
on message tags. If a message is tagged with scope
, and you start a consumer without any
filters, you will get all messages- tagged and untagged.
If you add a filter on scope
, messages not matching the filter will be ignored. Messages
missing the scope
tag will be treated as if they fail to match the filter. So, if your
FilterConditional
is ALL and the scope
tag is missing, it will fail. If is ANY, then it
could still be valid.
Produce a message into the current queue.
Error is returned if the operation fails in any way.
Produce a message a raw ZkMQMessage
into the current queue
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ZkMQ
impl UnwindSafe for ZkMQ
Blanket Implementations
Mutably borrows from an owned value. Read more