pub enum WsReplaySafety {
Never,
IdempotentByContract,
IdempotencyKey,
}Expand description
Application guarantee permitting a second delivery of the same business operation.
Variants§
Never
Never repeat a delivery that may have reached the peer.
IdempotentByContract
The application protocol guarantees that repeating this operation is idempotent.
IdempotencyKey
The peer deduplicates the stable key encoded by the application’s message factory. This declaration does not insert a key into an opaque message or verify the peer.
Trait Implementations§
Source§impl Clone for WsReplaySafety
impl Clone for WsReplaySafety
impl Copy for WsReplaySafety
Source§impl Debug for WsReplaySafety
impl Debug for WsReplaySafety
Source§impl Default for WsReplaySafety
impl Default for WsReplaySafety
impl Eq for WsReplaySafety
Source§impl PartialEq for WsReplaySafety
impl PartialEq for WsReplaySafety
impl StructuralPartialEq for WsReplaySafety
Auto Trait Implementations§
impl Forget for WsReplaySafety
impl Freeze for WsReplaySafety
impl Move for WsReplaySafety
impl RefUnwindSafe for WsReplaySafety
impl Send for WsReplaySafety
impl Sync for WsReplaySafety
impl Unpin for WsReplaySafety
impl UnsafeUnpin for WsReplaySafety
impl UnwindSafe for WsReplaySafety
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