VmDiagnostics

Trait VmDiagnostics 

Source
pub trait VmDiagnostics {
    // Required method
    fn function_used(&mut self, hash: Hash, at: usize) -> Result<(), VmError>;
}
Expand description

A trait for runtime diagnostics in the virtual machine.

Required Methods§

Source

fn function_used(&mut self, hash: Hash, at: usize) -> Result<(), VmError>

Mark that a function has been used.

Implementors§