pub trait InvocationInspectCallback: Send + Sync {
// Required methods
fn before_invocation(
&self,
svm: &HPSVM,
tx: &SanitizedTransaction,
program_indices: &[IndexOfAccount],
invoke_context: &InvokeContext<'_, '_>,
);
fn after_invocation(
&self,
svm: &HPSVM,
invoke_context: &InvokeContext<'_, '_>,
enable_register_tracing: bool,
);
}Available on crate feature
invocation-inspect-callback only.Required Methods§
fn before_invocation( &self, svm: &HPSVM, tx: &SanitizedTransaction, program_indices: &[IndexOfAccount], invoke_context: &InvokeContext<'_, '_>, )
fn after_invocation( &self, svm: &HPSVM, invoke_context: &InvokeContext<'_, '_>, enable_register_tracing: bool, )
Implementors§
impl InvocationInspectCallback for DefaultRegisterTracingCallback
Available on crate feature
register-tracing only.impl InvocationInspectCallback for TraceMetricsCollector
Available on crate feature
register-tracing only.