pub struct AuditLogReplayer<S: Clone + Serialize + for<'de> Deserialize<'de>> { /* private fields */ }Expand description
Audit log replayer.
Implementations§
Source§impl<S: Clone + Serialize + for<'de> Deserialize<'de>> AuditLogReplayer<S>
impl<S: Clone + Serialize + for<'de> Deserialize<'de>> AuditLogReplayer<S>
Sourcepub fn state(&self) -> &ReplayState<S>
pub fn state(&self) -> &ReplayState<S>
Get current replay state.
Sourcepub fn state_mut(&mut self) -> &mut ReplayState<S>
pub fn state_mut(&mut self) -> &mut ReplayState<S>
Get mutable replay state.
Sourcepub fn current_entry(&self) -> Option<&StepEntry<S>>
pub fn current_entry(&self) -> Option<&StepEntry<S>>
Get current step entry (if any).
Sourcepub fn step_forward(&mut self) -> Option<&StepEntry<S>>
pub fn step_forward(&mut self) -> Option<&StepEntry<S>>
Step forward and return the entry.
Sourcepub fn find_by_step_id(&self, step_id: u64) -> Option<&StepEntry<S>>
pub fn find_by_step_id(&self, step_id: u64) -> Option<&StepEntry<S>>
Find entry by step ID.
Auto Trait Implementations§
impl<S> Freeze for AuditLogReplayer<S>where
S: Freeze,
impl<S> RefUnwindSafe for AuditLogReplayer<S>where
S: RefUnwindSafe,
impl<S> Send for AuditLogReplayer<S>where
S: Send,
impl<S> Sync for AuditLogReplayer<S>where
S: Sync,
impl<S> Unpin for AuditLogReplayer<S>where
S: Unpin,
impl<S> UnsafeUnpin for AuditLogReplayer<S>where
S: UnsafeUnpin,
impl<S> UnwindSafe for AuditLogReplayer<S>where
S: UnwindSafe,
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