pub struct WorkQueueState<WorkerRoute> {
pub capacity: usize,
/* private fields */
}Expand description
Complete observable WorkQueue state.
Fields§
§capacity: usizeMaximum values that may wait; zero permits only immediate dispatch.
Implementations§
Source§impl<WorkerRoute> WorkQueueState<WorkerRoute>
impl<WorkerRoute> WorkQueueState<WorkerRoute>
Auto Trait Implementations§
impl<WorkerRoute> Freeze for WorkQueueState<WorkerRoute>
impl<WorkerRoute> RefUnwindSafe for WorkQueueState<WorkerRoute>where
WorkerRoute: RefUnwindSafe,
impl<WorkerRoute> Send for WorkQueueState<WorkerRoute>where
WorkerRoute: Send,
impl<WorkerRoute> Sync for WorkQueueState<WorkerRoute>where
WorkerRoute: Sync,
impl<WorkerRoute> Unpin for WorkQueueState<WorkerRoute>where
WorkerRoute: Unpin,
impl<WorkerRoute> UnsafeUnpin for WorkQueueState<WorkerRoute>
impl<WorkerRoute> UnwindSafe for WorkQueueState<WorkerRoute>where
WorkerRoute: 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