Crate mueue

Crate mueue 

Source
Expand description

A simple implementation of message queues.

Structs§

AbstractMessageIter
An any iterator which yields messages.
MessageEndpoint
The half of the bidirectional queue which can be used both for sending and receiving messages.
MessageEndpoints
A set of MessageEndpoints which can be used to manipulate them simultaneously.
MessageIter
An iterator which yields messages from one MessageReceiver.
MessageReceiver
The receiving-half of the message queue for messages.
MessageSender
The sending-half of the message queue for messages.
QueueId
An id of a queue.

Enums§

MessagingError

Traits§

Message
A type which is used for communicating two objects.

Functions§

bidirectional_queue
Creates a new unbounded bidirectional message queue for messages.
bidirectional_queue_bounded
Creates a new bounded bidirectional message queue for messages.
unidirectional_queue
Creates a new unbounded unidirectional message queue.
unidirectional_queue_bounded
Creates a new bounded unidirectional message queue.