pub struct NoOpEventHandler;Expand description
A no-op event handler for testing
Trait Implementations§
Source§impl EventHandler for NoOpEventHandler
impl EventHandler for NoOpEventHandler
Source§fn on_event_change<'life0, 'async_trait>(
&'life0 self,
_change: EventChange,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn on_event_change<'life0, 'async_trait>(
&'life0 self,
_change: EventChange,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Called when any event change occurs
Auto Trait Implementations§
impl Freeze for NoOpEventHandler
impl RefUnwindSafe for NoOpEventHandler
impl Send for NoOpEventHandler
impl Sync for NoOpEventHandler
impl Unpin for NoOpEventHandler
impl UnsafeUnpin 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