pub struct DeferredTaskWorkBatch { /* private fields */ }Expand description
One bounded pass performed by the dedicated task-work service thread.
Implementations§
Source§impl DeferredTaskWorkBatch
impl DeferredTaskWorkBatch
Sourcepub const fn processed(self) -> usize
pub const fn processed(self) -> usize
Returns the number of queue entries or resources consumed by this pass.
Sourcepub const fn deadline_callbacks(self) -> usize
pub const fn deadline_callbacks(self) -> usize
Returns the number of Deadline extension callbacks invoked.
Sourcepub const fn scheduler_tick_callbacks(self) -> usize
pub const fn scheduler_tick_callbacks(self) -> usize
Returns the number of scheduler-tick extension callbacks invoked.
Sourcepub const fn coroutine_reclaims(self) -> usize
pub const fn coroutine_reclaims(self) -> usize
Returns zero-reference coroutine allocations reclaimed after hard IRQ.
Sourcepub const fn address_space_reclaims(self) -> usize
pub const fn address_space_reclaims(self) -> usize
Returns active-mm ownership tokens whose final CPU lease was released.
Sourcepub const fn made_progress(self) -> bool
pub const fn made_progress(self) -> bool
Returns whether another pass should run before the worker parks.
Trait Implementations§
Source§impl Clone for DeferredTaskWorkBatch
impl Clone for DeferredTaskWorkBatch
Source§fn clone(&self) -> DeferredTaskWorkBatch
fn clone(&self) -> DeferredTaskWorkBatch
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for DeferredTaskWorkBatch
Source§impl Debug for DeferredTaskWorkBatch
impl Debug for DeferredTaskWorkBatch
Source§impl Default for DeferredTaskWorkBatch
impl Default for DeferredTaskWorkBatch
Source§fn default() -> DeferredTaskWorkBatch
fn default() -> DeferredTaskWorkBatch
Returns the “default value” for a type. Read more
impl Eq for DeferredTaskWorkBatch
Source§impl PartialEq for DeferredTaskWorkBatch
impl PartialEq for DeferredTaskWorkBatch
impl StructuralPartialEq for DeferredTaskWorkBatch
Auto Trait Implementations§
impl Freeze for DeferredTaskWorkBatch
impl RefUnwindSafe for DeferredTaskWorkBatch
impl Send for DeferredTaskWorkBatch
impl Sync for DeferredTaskWorkBatch
impl Unpin for DeferredTaskWorkBatch
impl UnsafeUnpin for DeferredTaskWorkBatch
impl UnwindSafe for DeferredTaskWorkBatch
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