pub enum Event<P>where
P: Program,{
Message(Message),
Program(<P as Program>::Message),
Command(Command),
Discard,
}Variants§
Trait Implementations§
Auto Trait Implementations§
impl<P> Freeze for Event<P>
impl<P> !RefUnwindSafe for Event<P>
impl<P> Send for Event<P>
impl<P> Sync for Event<P>
impl<P> Unpin for Event<P>
impl<P> !UnwindSafe for Event<P>
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