pub struct SagaConfig {
pub timeout: Option<Duration>,
pub compensation_policy: CompensationPolicy,
pub parallelism: usize,
pub retry_config: Option<SagaRetryConfig>,
pub monitoring_config: SagaMonitoringConfig,
}
Expand description
Saga設定
Fields§
§timeout: Option<Duration>
Saga全体のタイムアウト
compensation_policy: CompensationPolicy
補償実行ポリシー
parallelism: usize
並列実行設定
retry_config: Option<SagaRetryConfig>
失敗時のリトライ設定
monitoring_config: SagaMonitoringConfig
監視設定
Trait Implementations§
Source§impl Clone for SagaConfig
impl Clone for SagaConfig
Source§fn clone(&self) -> SagaConfig
fn clone(&self) -> SagaConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for SagaConfig
impl Debug for SagaConfig
Source§impl<'de> Deserialize<'de> for SagaConfig
impl<'de> Deserialize<'de> for SagaConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for SagaConfig
impl RefUnwindSafe for SagaConfig
impl Send for SagaConfig
impl Sync for SagaConfig
impl Unpin for SagaConfig
impl UnwindSafe for SagaConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more