pub enum EventHandler<H, O, A> {
Sync(Box<EventHandlerSyncCallback<H, A>>),
Async(Box<EventHandlerAsyncCallback<O, A>>),
}
Variants§
Sync(Box<EventHandlerSyncCallback<H, A>>)
Async(Box<EventHandlerAsyncCallback<O, A>>)
Auto Trait Implementations§
impl<H, O, A> Freeze for EventHandler<H, O, A>
impl<H, O, A> !RefUnwindSafe for EventHandler<H, O, A>
impl<H, O, A> Send for EventHandler<H, O, A>
impl<H, O, A> !Sync for EventHandler<H, O, A>
impl<H, O, A> Unpin for EventHandler<H, O, A>
impl<H, O, A> !UnwindSafe for EventHandler<H, O, A>
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