pub struct Cqe {
pub token: Token,
pub result: Result<u32>,
}Expand description
A completion event.
Fields§
§token: TokenToken submitted with the operation.
result: Result<u32>Kernel result: bytes transferred, new fd (accept), or 0.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Cqe
impl !UnwindSafe for Cqe
impl Freeze for Cqe
impl Send for Cqe
impl Sync for Cqe
impl Unpin for Cqe
impl UnsafeUnpin for Cqe
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