pub struct Completion {
pub user_data: u64,
pub bytes: Result<usize>,
}Expand description
One reaped completion: which submission it answers (user_data, the
tag the caller passed to prepare_read) and its result - the number
of bytes transferred, or the error the kernel reported.
Fields§
§user_data: u64§bytes: Result<usize>Auto Trait Implementations§
impl !RefUnwindSafe for Completion
impl !UnwindSafe for Completion
impl Freeze for Completion
impl Send for Completion
impl Sync for Completion
impl Unpin for Completion
impl UnsafeUnpin for Completion
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