pub(crate) struct WorkerState<T, U> {
pub(crate) queue_task: TaskHandle<U>,
pub(crate) queue: T,
}Fields§
§queue_task: TaskHandle<U>§queue: TAuto Trait Implementations§
impl<T, U> Freeze for WorkerState<T, U>where
T: Freeze,
impl<T, U> RefUnwindSafe for WorkerState<T, U>where
T: RefUnwindSafe,
impl<T, U> Send for WorkerState<T, U>
impl<T, U> Sync for WorkerState<T, U>
impl<T, U> Unpin for WorkerState<T, U>where
T: Unpin,
impl<T, U> UnwindSafe for WorkerState<T, U>where
T: 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