pub struct Execution { /* private fields */ }Expand description
A sandbox’s execution, from Client::execution: its spec, its state,
each command it was sent, as it ran, and its log’s size once it ended.
Implementations§
Source§impl Execution
impl Execution
pub fn spec(&self) -> &SandboxSpec
pub fn state(&self) -> &RunState
Sourcepub fn commands(&self) -> &[SandboxCommand]
pub fn commands(&self) -> &[SandboxCommand]
Each command it was sent, as it ran, oldest first.
pub fn replays(&self) -> Vec<Replay>
Sourcepub fn replay(&self) -> ReplayBuilder
pub fn replay(&self) -> ReplayBuilder
Replays it, once its sandbox ended: played to its end, or held at
its start for Replay::seek.
Sourcepub async fn machine(&self, at: Moment) -> Result<ReplayStop>
pub async fn machine(&self, at: Moment) -> Result<ReplayStop>
The machine at at: each process, its threads, files and memory.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Execution
impl !UnwindSafe for Execution
impl Forget for Execution
impl Freeze for Execution
impl Send for Execution
impl Sync for Execution
impl Unpin for Execution
impl UnsafeUnpin for Execution
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