pub struct DequeueItem<T> {
pub tenant: TenantKey,
pub task: Task<T>,
}Expand description
Dequeued tenant/task pair.
Fields§
§tenant: TenantKeyTenant selected by scheduler.
task: Task<T>Dequeued task.
Auto Trait Implementations§
impl<T> Freeze for DequeueItem<T>where
T: Freeze,
impl<T> RefUnwindSafe for DequeueItem<T>where
T: RefUnwindSafe,
impl<T> Send for DequeueItem<T>where
T: Send,
impl<T> Sync for DequeueItem<T>where
T: Sync,
impl<T> Unpin for DequeueItem<T>where
T: Unpin,
impl<T> UnwindSafe for DequeueItem<T>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