io_uring::cqueue

Function buffer_select

Source
pub fn buffer_select(flags: u32) -> Option<u16>
Expand description

Return which dynamic buffer was used by this operation.

This corresponds to the IORING_CQE_F_BUFFER flag (and related bit-shifting), and it signals to the consumer which provided contains the result of this operation.