pub struct AsyncTask;Expand description
Future-driving task marker.
Trait Implementations§
impl Copy for AsyncTask
Source§impl WorkClass for AsyncTask
impl WorkClass for AsyncTask
Source§const AFFINITY_OFFSET: usize = 1
const AFFINITY_OFFSET: usize = 1
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 = true
const USES_ASYNC_LANE: bool = true
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 AsyncTask
impl RefUnwindSafe for AsyncTask
impl Send for AsyncTask
impl Sync for AsyncTask
impl Unpin for AsyncTask
impl UnsafeUnpin for AsyncTask
impl UnwindSafe for AsyncTask
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