pub struct Replay { /* private fields */ }Expand description
A replay of an execution.
Implementations§
Source§impl Replay
impl Replay
pub fn id(&self) -> RunId
Sourcepub fn verdict(&self) -> Option<&ReplayVerdict>
pub fn verdict(&self) -> Option<&ReplayVerdict>
Its verdict, once it ended.
Sourcepub async fn wait(&mut self) -> Result<ReplayVerdict>
pub async fn wait(&mut self) -> Result<ReplayVerdict>
Its verdict, once it ended: the same execution, or where it parted. A replay dvm failed, as it saw it part, is an error that says where.
Sourcepub async fn seek(&self, to: Moment) -> Result<ReplayStop>
pub async fn seek(&self, to: Moment) -> Result<ReplayStop>
Takes a held replay to to, and holds it there: the moment, each
thread’s next operation, and the machine there.
pub async fn stop(&mut self) -> Result<()>
Sourcepub async fn commands(&self) -> Result<Vec<SandboxCommand>>
pub async fn commands(&self) -> Result<Vec<SandboxCommand>>
The commands it ran again, oldest first.
Sourcepub async fn events(&self) -> Result<WatchedEvents>
pub async fn events(&self) -> Result<WatchedEvents>
What it watched, and the events it saw, once it ended.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Replay
impl !UnwindSafe for Replay
impl Forget for Replay
impl Freeze for Replay
impl Send for Replay
impl Sync for Replay
impl Unpin for Replay
impl UnsafeUnpin for Replay
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