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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.