pub struct PipelineReplayManager { /* private fields */ }Expand description
Pipeline replay manager for advanced debugging
Implementations§
Source§impl PipelineReplayManager
impl PipelineReplayManager
pub fn new() -> Self
Sourcepub fn record_execution(
&mut self,
pipeline_id: String,
steps: Vec<ExecutionStep>,
)
pub fn record_execution( &mut self, pipeline_id: String, steps: Vec<ExecutionStep>, )
Record an execution for later replay
Sourcepub fn start_replay(&mut self, pipeline_id: &str) -> SklResult<()>
pub fn start_replay(&mut self, pipeline_id: &str) -> SklResult<()>
Start replaying a recorded execution
Sourcepub fn next_replay_step(&mut self) -> Option<&ExecutionStep>
pub fn next_replay_step(&mut self) -> Option<&ExecutionStep>
Get next step in replay
Sourcepub fn seek_replay(&mut self, position: usize) -> SklResult<()>
pub fn seek_replay(&mut self, position: usize) -> SklResult<()>
Skip to specific position in replay
Sourcepub fn get_replay_stats(&self) -> Option<ReplayStatistics>
pub fn get_replay_stats(&self) -> Option<ReplayStatistics>
Get replay statistics
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PipelineReplayManager
impl RefUnwindSafe for PipelineReplayManager
impl Send for PipelineReplayManager
impl Sync for PipelineReplayManager
impl Unpin for PipelineReplayManager
impl UnwindSafe for PipelineReplayManager
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more