pub struct EventCtx<'a, S> { /* private fields */ }Expand description
What an Event Handler sees besides the event: the Adapter’s State and the event’s envelope
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'a, S> Freeze for EventCtx<'a, S>
impl<'a, S> RefUnwindSafe for EventCtx<'a, S>where
&'a S: RefUnwindSafe,
impl<'a, S> Send for EventCtx<'a, S>
impl<'a, S> Sync for EventCtx<'a, S>
impl<'a, S> Unpin for EventCtx<'a, S>
impl<'a, S> UnsafeUnpin for EventCtx<'a, S>where
&'a S: UnsafeUnpin,
impl<'a, S> UnwindSafe for EventCtx<'a, S>where
&'a S: 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