pub struct BlockingTask;Expand description
Potentially blocking task marker.
Trait Implementations§
Source§impl Clone for BlockingTask
impl Clone for BlockingTask
impl Copy for BlockingTask
Source§impl Debug for BlockingTask
impl Debug for BlockingTask
Source§impl Default for BlockingTask
impl Default for BlockingTask
Source§impl WorkClass for BlockingTask
impl WorkClass for BlockingTask
Source§const AFFINITY_OFFSET: usize = 2
const AFFINITY_OFFSET: usize = 2
Offset mixed into round-robin worker selection for this work class.
Source§const SERIAL_AFFINITY_OFFSET: usize = Self::AFFINITY_OFFSET
const SERIAL_AFFINITY_OFFSET: usize = Self::AFFINITY_OFFSET
Worker offset used for serial handoff when no queued backlog exists. Read more
Source§const USES_ASYNC_LANE: bool = false
const USES_ASYNC_LANE: bool = false
Whether this work class is eligible for asynchronous lane routing.
Source§const USES_BLOCKING_LANE: bool = true
const USES_BLOCKING_LANE: bool = true
Whether this work class uses the dedicated bounded blocking lane.
Auto Trait Implementations§
impl Freeze for BlockingTask
impl RefUnwindSafe for BlockingTask
impl Send for BlockingTask
impl Sync for BlockingTask
impl Unpin for BlockingTask
impl UnsafeUnpin for BlockingTask
impl UnwindSafe for BlockingTask
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