Used to select how the read should be handled.

Fields

buffer: []u8,

io_uring will read directly into this buffer

iovecs: []const os.iovec,

io_uring will read directly into these buffers using readv.

buffer_selection: struct {
    group_id: u16,
    len: usize,
},

io_uring will select a buffer that has previously been provided with provide_buffers. The buffer group reference by group_id must contain at least one buffer for the read to work. len controls the number of bytes to read into the selected buffer.