#[repr(u32)]pub enum DeferredWork {
IntervalTimers = 1,
WakeDeadlines = 2,
PerTaskAccounting = 4,
NicPoll = 8,
}Expand description
Work item types that can be deferred from hardirq context.
Variants§
IntervalTimers = 1
Process interval timers (ITIMER_REAL, ITIMER_VIRTUAL, ITIMER_PROF).
WakeDeadlines = 2
Check wake deadlines and wake expired tasks.
PerTaskAccounting = 4
Per-task Fair class accounting (runnable_len, tick_update_wait).
NicPoll = 8
NIC watchdog / IRQ-less N2 service (safe outside hardirq).
Implementations§
Trait Implementations§
Source§impl Clone for DeferredWork
impl Clone for DeferredWork
Source§fn clone(&self) -> DeferredWork
fn clone(&self) -> DeferredWork
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 DeferredWork
Source§impl Debug for DeferredWork
impl Debug for DeferredWork
impl Eq for DeferredWork
Source§impl PartialEq for DeferredWork
impl PartialEq for DeferredWork
impl StructuralPartialEq for DeferredWork
Auto Trait Implementations§
impl Freeze for DeferredWork
impl RefUnwindSafe for DeferredWork
impl Send for DeferredWork
impl Sync for DeferredWork
impl Unpin for DeferredWork
impl UnsafeUnpin for DeferredWork
impl UnwindSafe for DeferredWork
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more