pub struct EmptyInvocationCallback;Expand description
Empty callback that does nothing - used during setup to avoid DefaultRegisterTracingCallback trying to find .so files on disk for built-in programs.
Trait Implementations§
Source§impl InvocationInspectCallback for EmptyInvocationCallback
impl InvocationInspectCallback for EmptyInvocationCallback
fn before_invocation( &self, _tx: &SanitizedTransaction, _program_indices: &[IndexOfAccount], _invoke_context: &InvokeContext<'_, '_>, )
fn after_invocation( &self, _invoke_context: &InvokeContext<'_, '_>, _register_tracing_enabled: bool, )
Auto Trait Implementations§
impl Freeze for EmptyInvocationCallback
impl RefUnwindSafe for EmptyInvocationCallback
impl Send for EmptyInvocationCallback
impl Sync for EmptyInvocationCallback
impl Unpin for EmptyInvocationCallback
impl UnsafeUnpin for EmptyInvocationCallback
impl UnwindSafe for EmptyInvocationCallback
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more