Function cqe_seen [src]

For advanced use cases only that implement custom completion queue methods. If you use copy_cqes() or copy_cqe() you must not call cqe_seen() or cq_advance(). Must be called exactly once after a zero-copy CQE has been processed by your application. Not idempotent, calling more than once will result in other CQEs being lost. Matches the implementation of cqe_seen() in liburing.

Prototype

pub fn cqe_seen(self: *IoUring, cqe: *linux.io_uring_cqe) void

Parameters

self: *IoUringcqe: *linux.io_uring_cqe

Source

pub fn cqe_seen(self: *IoUring, cqe: *linux.io_uring_cqe) void { _ = cqe; self.cq_advance(1); }