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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
use crateDomainEvent;
use Future;
use Pin;
/// **English:**<br>
/// Handles borrowed domain events through boxed, `Send` futures.
///
/// Each future borrows the consumer mutably and the event for `'a`. No executor, retries,
/// or deduplication are supplied. Implementations define side effects and panic conditions;
/// dropping a pending future does not promise rollback of work already performed.
///
/// **日本語:**<br>
/// ボックス化された `Send` Future を通じて借用イベントを処理します。
///
/// 各 Future はコンシューマーを可変借用し、イベントを `'a` の間借用します。
/// 実行器、再試行、重複排除は提供しません。副作用とパニック条件は実装が定め、
/// 待機中の Future の破棄は、実行済み処理のロールバックを保証しません。
/// **English:**<br>
/// Updates a read model through boxed, `Send` futures.
///
/// The future holds a mutable projection borrow and a shared event borrow for `'a`.
/// Implementations define persistence, ordering, duplicate handling, panics, and cancellation
/// behavior; this trait adds no scheduling or locking.
///
/// **日本語:**<br>
/// ボックス化された `Send` Future を通じて読み取りモデルを更新します。
///
/// Future はプロジェクションの可変借用とイベントの共有借用を `'a` の間保持します。
/// 永続化、順序、重複の扱い、パニック、キャンセル時の挙動は実装が定めます。
/// このトレイトはスケジューリングやロックを追加しません。