pub struct Context<Evt> { /* private fields */ }Expand description
Response context for dispatching events back to the main thread.
On native targets, responses are collected in memory for testing.
Clone + 'static — safe to move into spawned tasks.
Implementations§
Source§impl<Evt> Context<Evt>
impl<Evt> Context<Evt>
Trait Implementations§
Auto Trait Implementations§
impl<Evt> Freeze for Context<Evt>
impl<Evt> !RefUnwindSafe for Context<Evt>
impl<Evt> !Send for Context<Evt>
impl<Evt> !Sync for Context<Evt>
impl<Evt> Unpin for Context<Evt>
impl<Evt> UnsafeUnpin for Context<Evt>
impl<Evt> !UnwindSafe for Context<Evt>
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