pub enum ExternalReplayMode {
Recorded,
Live,
}Expand description
How replay obtains external values.
Variants§
Recorded
Default. Serve External events from the journal (recorded results). No
effect re-fires; reads stay faithful.
Live
Re-invoke externals live against the supplied handler. A handler that
defers (ExternalResult::Pending) parks the replay as
ReplayOutcome::Failed with FailReason::AwaitingExternal; resume
via StorySession::continue_replay.
Trait Implementations§
Source§impl Clone for ExternalReplayMode
impl Clone for ExternalReplayMode
Source§fn clone(&self) -> ExternalReplayMode
fn clone(&self) -> ExternalReplayMode
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 ExternalReplayMode
Source§impl Debug for ExternalReplayMode
impl Debug for ExternalReplayMode
Source§impl Default for ExternalReplayMode
impl Default for ExternalReplayMode
Source§fn default() -> ExternalReplayMode
fn default() -> ExternalReplayMode
Returns the “default value” for a type. Read more
impl Eq for ExternalReplayMode
Source§impl PartialEq for ExternalReplayMode
impl PartialEq for ExternalReplayMode
impl StructuralPartialEq for ExternalReplayMode
Auto Trait Implementations§
impl Freeze for ExternalReplayMode
impl RefUnwindSafe for ExternalReplayMode
impl Send for ExternalReplayMode
impl Sync for ExternalReplayMode
impl Unpin for ExternalReplayMode
impl UnsafeUnpin for ExternalReplayMode
impl UnwindSafe for ExternalReplayMode
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