pub trait InvocationInspectCallback: Send + Sync {
// Required methods
fn before_invocation(
&self,
tx: &SanitizedTransaction,
program_indices: &[u16],
invoke_context: &InvokeContext<'_, '_>,
);
fn after_invocation(
&self,
invoke_context: &InvokeContext<'_, '_>,
enable_register_tracing: bool,
);
}Required Methods§
fn before_invocation( &self, tx: &SanitizedTransaction, program_indices: &[u16], invoke_context: &InvokeContext<'_, '_>, )
fn after_invocation( &self, invoke_context: &InvokeContext<'_, '_>, enable_register_tracing: bool, )
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".
Implementors§
impl InvocationInspectCallback for EmptyInvocationInspectCallback
Available on crate feature
invocation-inspect-callback only.