pub struct Context<'a, E: Executor> {
pub event: Event,
pub executor: &'a E,
/* private fields */
}Fields§
§event: Event§executor: &'a EImplementations§
Trait Implementations§
Auto Trait Implementations§
impl<'a, E> Freeze for Context<'a, E>
impl<'a, E> RefUnwindSafe for Context<'a, E>where
E: RefUnwindSafe,
impl<'a, E> Send for Context<'a, E>
impl<'a, E> Sync for Context<'a, E>
impl<'a, E> Unpin for Context<'a, E>
impl<'a, E> UnwindSafe for Context<'a, E>where
E: RefUnwindSafe,
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)