pub type OutboxLifecycleCompletionError = TransactionalOutboxCompletionError;Expand description
English: Exposes core 0.4’s domain, persistence, and event-workflow API.
日本語: コア 0.4 のドメイン、永続化、イベント処理 API を公開します。 English: Exposes the single-attempt outbox lifecycle context, its errors, and their short aliases.
日本語: 一回のみ試行するアウトボックスのライフサイクルコンテキスト、エラー、短い別名を公開します。
English: Alias for TransactionalOutboxCompletionError used when checking lifecycle completion.
日本語: ライフサイクルの完了確認に使う TransactionalOutboxCompletionError の別名です。
Aliased Type§
pub enum OutboxLifecycleCompletionError {
MissingEnqueue,
EnqueueFailedConsumed,
}Variants§
MissingEnqueue
English: No enqueue attempt was made before completion.
日本語: 完了確認までに登録が試行されていません。
EnqueueFailedConsumed
English: An attempt started but did not record success; pulled events are not restored. This state is set before pulling events, so it also covers an unwound attempt if the caller catches a panic and later completes the context.
日本語: 試行が開始されましたが、成功が記録されていません。取り出したイベントは復元しません。 この状態はイベントの取り出し前に設定するため、呼び出し側がパニックを捕捉して後で 完了確認した場合は、巻き戻された試行も含みます。