pub enum IdempotencyMode {
None,
Native,
ReconcileBeforeRetry,
NeverAutomaticRetry,
}Expand description
Whether repeating a dispatch is safe.
Variants§
None
Not idempotent; never retried automatically.
Native
The provider deduplicates by idempotency key; safe to retry.
ReconcileBeforeRetry
Must reconcile the previous attempt before dispatching again.
NeverAutomaticRetry
Retry only through an explicit operator action.
Trait Implementations§
Source§impl Clone for IdempotencyMode
impl Clone for IdempotencyMode
Source§fn clone(&self) -> IdempotencyMode
fn clone(&self) -> IdempotencyMode
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for IdempotencyMode
Source§impl Debug for IdempotencyMode
impl Debug for IdempotencyMode
Source§impl<'de> Deserialize<'de> for IdempotencyMode
impl<'de> Deserialize<'de> for IdempotencyMode
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
impl Eq for IdempotencyMode
Source§impl PartialEq for IdempotencyMode
impl PartialEq for IdempotencyMode
Source§impl Serialize for IdempotencyMode
impl Serialize for IdempotencyMode
impl StructuralPartialEq for IdempotencyMode
Auto Trait Implementations§
impl Freeze for IdempotencyMode
impl RefUnwindSafe for IdempotencyMode
impl Send for IdempotencyMode
impl Sync for IdempotencyMode
impl Unpin for IdempotencyMode
impl UnsafeUnpin for IdempotencyMode
impl UnwindSafe for IdempotencyMode
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