Trait kernel::workqueue::HasDelayedWork
source · pub unsafe trait HasDelayedWork<T, const ID: u64 = 0>: HasWork<T, ID> { }
Expand description
Declares that a type contains a DelayedWork<T, ID>
.
§Safety
The HasWork<T, ID>
implementation must return a work_struct
that is stored in the work
field of a delayed_work
with the same access rules as the work_struct
.
Object Safety§
This trait is not object safe.