pub enum SnapshotUse {
Applicable,
Stale,
Inapplicable,
}Expand description
English: Exposes core 0.4’s domain, persistence, and event-workflow API.
日本語: コア 0.4 のドメイン、永続化、イベント処理 API を公開します。 English: Re-exports snapshot state containers, classification, storage contracts, and errors.
日本語: スナップショット状態コンテナー、分類、保存契約、エラーを再エクスポートします。
English: Aggregate-defined snapshot classification used by crate::replay_with_optional_snapshot.
Both Stale and Inapplicable trigger full replay; an older but usable snapshot may be Applicable.
日本語: crate::replay_with_optional_snapshot で使う集約定義のスナップショット分類です。
Stale と Inapplicable は全件再生を選択します。古くても利用可能なら Applicable にできます。
Variants§
Applicable
English: Restore this snapshot and replay only later events.
日本語: このスナップショットを復元し、後続イベントのみ再生します。
Stale
English: Reject this snapshot as stale and replay the complete history.
日本語: 古いスナップショットとして採用せず、完全な履歴を再生します。
Inapplicable
English: Reject this snapshot as incompatible and replay the complete history.
日本語: 互換性のないスナップショットとして採用せず、完全な履歴を再生します。
Trait Implementations§
Source§impl Clone for SnapshotUse
impl Clone for SnapshotUse
Source§fn clone(&self) -> SnapshotUse
fn clone(&self) -> SnapshotUse
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more