pub enum CommandReplayPolicy {
Idempotent,
ExactlyOnce,
}Expand description
Replay law bound into the local request without depending on the operation crate.
Variants§
Idempotent
A repeat may occur only after independent absence and lease expiry.
ExactlyOnce
A recorded dispatch is an unconditional at-most-once barrier.
Trait Implementations§
Source§impl Clone for CommandReplayPolicy
impl Clone for CommandReplayPolicy
Source§fn clone(&self) -> CommandReplayPolicy
fn clone(&self) -> CommandReplayPolicy
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 CommandReplayPolicy
Source§impl Debug for CommandReplayPolicy
impl Debug for CommandReplayPolicy
impl Eq for CommandReplayPolicy
Source§impl PartialEq for CommandReplayPolicy
impl PartialEq for CommandReplayPolicy
impl StructuralPartialEq for CommandReplayPolicy
Auto Trait Implementations§
impl Freeze for CommandReplayPolicy
impl RefUnwindSafe for CommandReplayPolicy
impl Send for CommandReplayPolicy
impl Sync for CommandReplayPolicy
impl Unpin for CommandReplayPolicy
impl UnsafeUnpin for CommandReplayPolicy
impl UnwindSafe for CommandReplayPolicy
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