Expand description
Message queue implementations.
These are in-memory data structures used by the mailbox. They are
!Send outside their owning ActorCell — all external sending goes
through the typed channel held in crate::actor::ActorRef.
Structs§
- Bounded
MsgQueue - Bounded FIFO queue.
- Control
Aware Queue - Deque
Queue - Deque-like queue permitting front insertion (for stash/unstash).
- Priority
Queue - Priority queue.
- Stable
Priority Queue - Stable priority queue (FIFO among equal priorities).
- Unbounded
Queue - Unbounded FIFO queue.
Enums§
- Control
Aware - Control-aware queue. Control messages are drained before user
messages regardless of insertion order.
UnboundedControlAwareMessageQueue. Use the typed wrapperControlAware::Control/ControlAware::Userto tag a message. - Push
Outcome - Outcome of a bounded
pushonce anOverflowStrategyhas been applied.Acceptedmeans the message was enqueued (possibly after dropping another);Rejected(msg)means the configured strategy refused the push and returns the original message.
Traits§
- Prioritized
- Envelope trait used by priority queues.