#[repr(C)]
pub struct Entry32(_, _);
Expand description
A 32-byte completion queue entry (CQE), representing a complete I/O operation.
The operation-specific result code. For example, for a Read
operation this is equivalent to the return value of the read(2)
system call.
295
296
297
298
299
300
301
302
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
f.debug_struct("Entry32")
.field("result", &self.result())
.field("user_data", &self.user_data())
.field("flags", &self.flags())
.field("big_cqe", &self.big_cqe())
.finish()
}
The user data of the request, as set by
Entry::user_data
on the submission queue event.
295
296
297
298
299
300
301
302
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
f.debug_struct("Entry32")
.field("result", &self.result())
.field("user_data", &self.user_data())
.field("flags", &self.flags())
.field("big_cqe", &self.big_cqe())
.finish()
}
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.
295
296
297
298
299
300
301
302
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
f.debug_struct("Entry32")
.field("result", &self.result())
.field("user_data", &self.user_data())
.field("flags", &self.flags())
.field("big_cqe", &self.big_cqe())
.finish()
}
Additional data available in 32-byte completion queue entries (CQEs).
295
296
297
298
299
300
301
302
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
f.debug_struct("Entry32")
.field("result", &self.result())
.field("user_data", &self.user_data())
.field("flags", &self.flags())
.field("big_cqe", &self.big_cqe())
.finish()
}
Performs copy-assignment from
source
.
Read more
Formats the value using the given formatter.
Read more
Converts to this type from the input type.
Immutably borrows from an owned value.
Read more
Mutably borrows from an owned value.
Read more
Returns the argument unchanged.
Calls U::from(self)
.
That is, this conversion is whatever the implementation of
From<T> for U
chooses to do.
The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning.
Read more
Uses borrowed data to replace owned data, usually by cloning.
Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.