pub enum Event<E> {
Args(E),
Missing,
}Expand description
Enumerator of the Event type. Whatever type E of Event::Args you implement here is the type E that will be used for the EventPublisher.
Variants§
Auto Trait Implementations§
impl<E> Freeze for Event<E>where
E: Freeze,
impl<E> RefUnwindSafe for Event<E>where
E: RefUnwindSafe,
impl<E> Send for Event<E>where
E: Send,
impl<E> Sync for Event<E>where
E: Sync,
impl<E> Unpin for Event<E>where
E: Unpin,
impl<E> UnwindSafe for Event<E>where
E: UnwindSafe,
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