1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
//! Internal mailbox driving contracts.
use Future;
/// Supplies already-formed events to an actor.
///
/// A mailbox, stream, simulator, or test queue can implement this contract.
/// Framing, authentication, sender stamping, and closure policy belong to the
/// source. Effect interpretation remains the responsibility of
/// [`bombay_engine::Environment`].
/// Submits complete events to an actor mailbox.
///
/// A sender accepts exactly one event type, so the event is an associated
/// fact of the sender rather than an independent choice. This is the narrow
/// adapter used by [`crate::ActorRef`] after it stamps a typed user message
/// into an event. Bombay Communication remains the sole production
/// implementation and owns queueing, closure, and backpressure.