#[repr(C)]pub struct AsyncCqe {
pub user_data: u64,
pub res: i32,
pub flags: u32,
}Expand description
A single I/O completion, written by the kernel into the CQ ring.
Fields§
§user_data: u64Opaque correlation token from the originating SQE.
res: i32Result: bytes transferred on success, or a negative errno on failure.
flags: u32Flags: CQE_F_BUFFER, CQE_F_MORE.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AsyncCqe
impl RefUnwindSafe for AsyncCqe
impl Send for AsyncCqe
impl Sync for AsyncCqe
impl Unpin for AsyncCqe
impl UnsafeUnpin for AsyncCqe
impl UnwindSafe for AsyncCqe
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more