Skip to main content

Module mailbox

Module mailbox 

Source
Expand description

The two ends of a one-way message channel.

Outbox is where messages are posted, Mailbox is where they are collected. Both hide how the bytes actually travel, so a caller written against them keeps working when the channel moves from this address space to another process — see crate::engine::port::transport.

Structs§

Disconnected
The far end of a channel disappeared before it could be read.
Mailbox
Collects messages from a channel.
Outbox
Posts messages into a channel.
Undeliverable
A message that never reached the far end of a channel.

Traits§

Consume
A transport’s consuming half.
Produce
A transport’s producing half.