Re: [PATCH v2 6/8] rust: workqueue: implement `WorkItemPointer` for pointer types

From: Martin Rodriguez Reboredo
Date: Thu Jun 01 2023 - 10:59:10 EST


On 6/1/23 10:49, Alice Ryhl wrote:
This implements the `WorkItemPointer` trait for the pointer types that
you are likely to use the workqueue with. The `Arc` type is for
reference counted objects, and the `Pin<Box<T>>` type is for objects
where the caller has exclusive ownership of the object.

Co-developed-by: Gary Guo <gary@xxxxxxxxxxx>
Signed-off-by: Gary Guo <gary@xxxxxxxxxxx>
Signed-off-by: Alice Ryhl <aliceryhl@xxxxxxxxxx>
---
[...]

Reviewed-by: Martin Rodriguez Reboredo <yakoyoku@xxxxxxxxx>