pub enum ReplayMode {
AuditReplay,
ResumeReplay,
RepairReplay,
}Expand description
Enumerates the finite replay mode cases. Serialized names are part of the SDK contract; update fixtures when variants change.
Variants§
AuditReplay
Use this variant when the contract needs to represent audit replay; selecting it has no side effect by itself.
ResumeReplay
Use this variant when the contract needs to represent resume replay; selecting it has no side effect by itself.
RepairReplay
Use this variant when the contract needs to represent repair replay; selecting it has no side effect by itself.
Trait Implementations§
Source§impl Clone for ReplayMode
impl Clone for ReplayMode
Source§fn clone(&self) -> ReplayMode
fn clone(&self) -> ReplayMode
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 moreSource§impl Debug for ReplayMode
impl Debug for ReplayMode
Source§impl<'de> Deserialize<'de> for ReplayMode
impl<'de> Deserialize<'de> for ReplayMode
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
Source§impl PartialEq for ReplayMode
impl PartialEq for ReplayMode
Source§fn eq(&self, other: &ReplayMode) -> bool
fn eq(&self, other: &ReplayMode) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ReplayMode
impl Serialize for ReplayMode
impl Copy for ReplayMode
impl Eq for ReplayMode
impl StructuralPartialEq for ReplayMode
Auto Trait Implementations§
impl Freeze for ReplayMode
impl RefUnwindSafe for ReplayMode
impl Send for ReplayMode
impl Sync for ReplayMode
impl Unpin for ReplayMode
impl UnsafeUnpin for ReplayMode
impl UnwindSafe for ReplayMode
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