Skip to main content

InvocationInspectCallback

Trait InvocationInspectCallback 

Source
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§

Source

fn before_invocation( &self, tx: &SanitizedTransaction, program_indices: &[u16], invoke_context: &InvokeContext<'_, '_>, )

Source

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§

Source§

impl InvocationInspectCallback for EmptyInvocationInspectCallback

Available on crate feature invocation-inspect-callback only.
Source§

impl InvocationInspectCallback for EmptyInvocationCallback