pub enum ReplayPolicy {
Log,
Reexecute,
}Expand description
Replay behavior for a connector call.
Variants§
Log
Record the result and replay it without repeating the call.
Reexecute
Re-execute the call during every replay pass.
Trait Implementations§
Source§impl Clone for ReplayPolicy
impl Clone for ReplayPolicy
Source§fn clone(&self) -> ReplayPolicy
fn clone(&self) -> ReplayPolicy
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 ReplayPolicy
Source§impl Debug for ReplayPolicy
impl Debug for ReplayPolicy
Source§impl Default for ReplayPolicy
impl Default for ReplayPolicy
Source§fn default() -> ReplayPolicy
fn default() -> ReplayPolicy
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ReplayPolicy
impl<'de> Deserialize<'de> for ReplayPolicy
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 ReplayPolicy
Source§impl PartialEq for ReplayPolicy
impl PartialEq for ReplayPolicy
Source§impl Serialize for ReplayPolicy
impl Serialize for ReplayPolicy
impl StructuralPartialEq for ReplayPolicy
Auto Trait Implementations§
impl Freeze for ReplayPolicy
impl RefUnwindSafe for ReplayPolicy
impl Send for ReplayPolicy
impl Sync for ReplayPolicy
impl Unpin for ReplayPolicy
impl UnsafeUnpin for ReplayPolicy
impl UnwindSafe for ReplayPolicy
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