pub enum StreamHistoryError {
Empty,
TooManyEvents,
RevisionMismatch {
expected: StreamRevision,
actual: StreamRevision,
},
}Expand description
English: Exposes core 0.4’s domain, persistence, and event-workflow API.
日本語: コア 0.4 のドメイン、永続化、イベント処理 API を公開します。 English: Re-exports event-stream storage contracts, revision checks, and validated histories.
日本語: イベントストリームの保存契約、リビジョン照合、検証済み履歴を再エクスポートします。
English: Reason that event data cannot form a complete StreamHistory.
日本語: イベントデータから完全な StreamHistory を構築できない理由です。
Variants§
Empty
English: The event vector is empty.
日本語: イベントのベクターが空です。
TooManyEvents
English: The event count exceeds the range of u64.
日本語: イベント数が u64 の範囲を超えています。
RevisionMismatch
English: The final revision differs from the event count minus one.
日本語: 最終リビジョンがイベント数から 1 を引いた値と異なります。
Fields
expected: StreamRevisionEnglish: Final revision calculated from the event count.
日本語: イベント数から算出した最終リビジョンです。
actual: StreamRevisionEnglish: Final revision supplied by the caller.
日本語: 呼び出し側が指定した最終リビジョンです。
Trait Implementations§
Source§impl Clone for StreamHistoryError
impl Clone for StreamHistoryError
Source§fn clone(&self) -> StreamHistoryError
fn clone(&self) -> StreamHistoryError
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more