Trait 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.

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.

Implementors§