OpCode

All io_uring operations or ops are described through their opcodes.

The below opcodes are currently implemented:

OpCodeLinux Kerneltrait / built-inDescription
Acceptbuilt-inaccept4(2) (single-shot)
EpollCtltrait implEpoll Control
FuteXWaitbuilt-inFutex Wait
ProvideBuffersbuilt-inRegister Buffers with Kernel for faster I/O
Recvbuilt-inReceive (single-shot)
RecvMultibuilt-inReceive (multi-shot)
SendZcbuilt-inSend (Zero Copy)

All the in-Bearer built-in OpCodes will be moved to implement the associated trait in the future.

All the builti-in & OpCode + OpCompletion trait impls are mapped into Completion enum.

To push a bearer-aware submission, use the push_* or push_op_typed methods via the associated UringBearer.