pub struct DummyProgramEventListener;Expand description
No-op event listener implementation.
Trait Implementations§
Source§impl ProgramEventListener for DummyProgramEventListener
impl ProgramEventListener for DummyProgramEventListener
Source§fn did_async_preempt(&self, _scope: &HelperScope<'_, '_>)
fn did_async_preempt(&self, _scope: &HelperScope<'_, '_>)
Called after an async preemption is triggered.
Source§fn did_throttle(
&self,
_scope: &HelperScope<'_, '_>,
) -> Option<Pin<Box<dyn Future<Output = ()>>>>
fn did_throttle( &self, _scope: &HelperScope<'_, '_>, ) -> Option<Pin<Box<dyn Future<Output = ()>>>>
Called after throttling a program’s execution.
Source§fn did_save_shadow_stack(&self)
fn did_save_shadow_stack(&self)
Called after saving the shadow stack before yielding.
Source§fn did_restore_shadow_stack(&self)
fn did_restore_shadow_stack(&self)
Called after restoring the shadow stack on resume.
Auto Trait Implementations§
impl Freeze for DummyProgramEventListener
impl RefUnwindSafe for DummyProgramEventListener
impl Send for DummyProgramEventListener
impl Sync for DummyProgramEventListener
impl Unpin for DummyProgramEventListener
impl UnwindSafe for DummyProgramEventListener
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