pub enum ActionKind {
Simulate,
Send,
}Expand description
How an action’s transactions run. Only meaningful for an action that carries
transactions: one that carries none is a schedule entry for account_overrides.
Variants§
Simulate
Runs against session state without committing. Each transaction’s writes are visible to the next one in the same action and to nothing else, so the replay is unaffected.
Send
Executes and commits to the session ledger. The writes are visible to every later
slot, including the historical transactions that follow — a deliberate change to
the replayed world, not a simulation of one. Rejected under replay_account_state,
where the recording restamps account state and the commit would be lost.
Trait Implementations§
Source§impl Clone for ActionKind
impl Clone for ActionKind
impl Copy for ActionKind
Source§impl Debug for ActionKind
impl Debug for ActionKind
Source§impl Default for ActionKind
impl Default for ActionKind
Source§impl<'de> Deserialize<'de> for ActionKind
impl<'de> Deserialize<'de> for ActionKind
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 ActionKind
Source§impl PartialEq for ActionKind
impl PartialEq for ActionKind
Source§impl Serialize for ActionKind
impl Serialize for ActionKind
impl StructuralPartialEq for ActionKind
Auto Trait Implementations§
impl Freeze for ActionKind
impl RefUnwindSafe for ActionKind
impl Send for ActionKind
impl Sync for ActionKind
impl Unpin for ActionKind
impl UnsafeUnpin for ActionKind
impl UnwindSafe for ActionKind
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