Thomasdezeeuw / a10

Library safely exposing the io_uring API.
MIT License
55 stars 2 forks source link

Have borrowed and owned versions of Futures w.r.t. SubmissionQueue #113

Open Thomasdezeeuw opened 7 months ago

Thomasdezeeuw commented 7 months ago

Currently some Futures own a SubmissionQueue, others take a reference to it. It would be to have a mechanism where we can support both.

Maybe it's a simple as adding <SQ: AsRef<SubmissionQueue>> instead of using a SubmissionQueue.

Thomasdezeeuw commented 5 months ago

Signals::receive_signals is an example of where an owned version was needed.

Thomasdezeeuw commented 5 months ago

Inventory.

Futures that take ownership of SubmissionQueue:

Futures that take a reference to SubmissionQueue: