Skip to main content

DebugSnapshot

Trait DebugSnapshot 

Source
pub trait DebugSnapshot: Send + Sync {
    // Required method
    fn snapshot(&self) -> Value;
}
Expand description

A point-in-time view of the VM’s internals for diagnostics.

Required Methods§

Source

fn snapshot(&self) -> Value

The driver’s own JSON — queues, counters, whatever helps a post-mortem.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§