pub struct TaskHandle<T, E: TError> {
pub rx: Receiver<T>,
pub ctx: Context<E>,
}
Fields§
§rx: Receiver<T>
§ctx: Context<E>
Implementations§
Auto Trait Implementations§
impl<T, E> Freeze for TaskHandle<T, E>
impl<T, E> RefUnwindSafe for TaskHandle<T, E>
impl<T, E> Send for TaskHandle<T, E>where
T: Send,
impl<T, E> !Sync for TaskHandle<T, E>
impl<T, E> Unpin for TaskHandle<T, E>
impl<T, E> UnwindSafe for TaskHandle<T, E>
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