pub unsafe trait RawDelayedWorkItem<const ID: u64>: RawWorkItem<ID> { }
Expand description
A raw delayed work item.
§Safety
If the __enqueue
method in the RawWorkItem
implementation calls the closure, then the
provided pointer must point at the work
field of a valid delayed_work
, and the guarantees
that __enqueue
provides about accessing the work_struct
must also apply to the rest of the
delayed_work
struct.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.