Skip to content

Commit 7e37ca5

Browse files
committed
Add bitflags! with CompletionFlags for better UX.
1 parent 814230a commit 7e37ca5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/cqueue.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -297,8 +297,9 @@ impl Debug for Entry32 {
297297
}
298298

299299
bitflags!(
300+
/// Request specific information carried in CQE flags field.
300301
/// See man page for complete description:
301-
/// https://man7.org/linux/man-pages/man2/io_uring_enter.2.html
302+
/// https://man7.org/linux/man-pages/man7/io_uring.7.html
302303
#[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord)]
303304
pub struct CompletionFlags: u32 {
304305
/// If set, the upper 16 bits of the flags field carries the

0 commit comments

Comments
 (0)