pub struct TaskHandler<T> { /* private fields */ }
Expand description
Handler return to user.
Use TaskHandler::send
to submit task context into main handler loop.
channel prio: cb > highprio > tx
Implementations§
Source§impl<T> TaskHandler<T>
impl<T> TaskHandler<T>
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for TaskHandler<T>
impl<T> RefUnwindSafe for TaskHandler<T>
impl<T> Send for TaskHandler<T>where
T: Send,
impl<T> Sync for TaskHandler<T>where
T: Send,
impl<T> Unpin for TaskHandler<T>
impl<T> UnwindSafe for TaskHandler<T>
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