#[repr(C, align(16))]pub struct CompleteEntry {
pub result: i64,
pub user_data: u64,
pub flags: u16,
pub _reserved: [u8; 6],
}Expand description
Completion entry — kernel’s response to a submission.
Written by kernel, read by userspace. The user_data field matches
the value from the corresponding SubmitEntry.
Fields§
§result: i64Result value. Positive/zero = success, negative = -errno.
user_data: u64User token from the corresponding SubmitEntry.
flags: u16Completion flags (see complete_flags).
_reserved: [u8; 6]Reserved.
Implementations§
Trait Implementations§
Source§impl Clone for CompleteEntry
impl Clone for CompleteEntry
Source§fn clone(&self) -> CompleteEntry
fn clone(&self) -> CompleteEntry
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for CompleteEntry
impl Default for CompleteEntry
Source§fn default() -> CompleteEntry
fn default() -> CompleteEntry
Returns the “default value” for a type. Read more
impl Copy for CompleteEntry
Auto Trait Implementations§
impl Freeze for CompleteEntry
impl RefUnwindSafe for CompleteEntry
impl Send for CompleteEntry
impl Sync for CompleteEntry
impl Unpin for CompleteEntry
impl UnsafeUnpin for CompleteEntry
impl UnwindSafe for CompleteEntry
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more