#[repr(C)]pub struct Entry32(_, _);
Expand description
A 32-byte completion queue entry (CQE), representing a complete I/O operation.
Implementations§
source§impl Entry32
impl Entry32
sourcepub fn result(&self) -> i32
pub fn result(&self) -> i32
The operation-specific result code. For example, for a Read
operation this is equivalent to the return value of the read(2)
system call.
sourcepub fn user_data(&self) -> u64
pub fn user_data(&self) -> u64
The user data of the request, as set by
Entry::user_data
on the submission queue event.
sourcepub fn flags(&self) -> u32
pub fn flags(&self) -> u32
Metadata related to the operation.
This is currently used for:
- Storing the selected buffer ID, if one was selected. See
BUFFER_SELECT
for more info.