pub struct SyncTask;Expand description
CPU-bound synchronous task marker.
Trait Implementations§
impl Copy for SyncTask
Source§impl WorkClass for SyncTask
impl WorkClass for SyncTask
Source§const AFFINITY_OFFSET: usize = 0
const AFFINITY_OFFSET: usize = 0
Offset mixed into round-robin worker selection for this work class.
Source§const SERIAL_AFFINITY_OFFSET: usize = 0
const SERIAL_AFFINITY_OFFSET: usize = 0
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 = false
const USES_BLOCKING_LANE: bool = false
Whether this work class uses the dedicated bounded blocking lane.
Auto Trait Implementations§
impl Freeze for SyncTask
impl RefUnwindSafe for SyncTask
impl Send for SyncTask
impl Sync for SyncTask
impl Unpin for SyncTask
impl UnsafeUnpin for SyncTask
impl UnwindSafe for SyncTask
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