workqueue: Add rust bindings for v6.7

to allow rust code to schedule work items on workqueues. While the current
bindings don't cover all of the workqueue API, it provides enough for basic
usage and can be expanded as needed.
rust: workqueue: add examples

This adds two examples of how to use the workqueue. The first example
shows how to use it when you only have one `work_struct` field, and the
second example shows how to use it when you have multiple `work_struct`

Signed-off-by: Alice Ryhl <>
Reviewed-by: Martin Rodriguez Reboredo <>
Reviewed-by: Gary Guo <>
Reviewed-by: "Andreas Hindborg (Samsung)" <>
Reviewed-by: Benno Lossin <>
Reviewed-by: Boqun Feng <>
Signed-off-by: Tejun Heo <>
1 file changed