pub struct NoopEventHandler;Expand description
No-op event handler (does nothing)
Trait Implementations§
Source§impl EventHandler for NoopEventHandler
impl EventHandler for NoopEventHandler
Source§fn handle_event<'life0, 'async_trait>(
&'life0 self,
_event: ExecutionEvent,
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn handle_event<'life0, 'async_trait>(
&'life0 self,
_event: ExecutionEvent,
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Handle an execution event
Auto Trait Implementations§
impl Freeze for NoopEventHandler
impl RefUnwindSafe for NoopEventHandler
impl Send for NoopEventHandler
impl Sync for NoopEventHandler
impl Unpin for NoopEventHandler
impl UnwindSafe for NoopEventHandler
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