tokio-rs / io-uring

The `io_uring` library for Rust
Apache License 2.0
1.16k stars 129 forks source link

Add notif and related SendZc docs #299

Open erenon opened 3 weeks ago

erenon commented 3 weeks ago
quininer commented 3 weeks ago

Can you add a test? and you don't need to add much docs, just point to manpage of IORING_OP_SEND_ZC.

erenon commented 3 weeks ago

Added a test. I have two issues with just linking the docs:

I find this doc+notif to be visible important, because without these, SendZc cannot be used correctly. If you feel strongly about keeping the doc minimal, I can of course replace the paragraph with a link, let me know.

quininer commented 3 weeks ago

I don't have the energy to keep track of upstream docs, so I prefer to keep minimal description and point to correct upstream docs.

erenon commented 3 weeks ago

Got it. Added a link instead of the text.

erenon commented 3 weeks ago

fmt fixed (extra newline removed)