#[repr(C)]pub struct RawCompletionQueueEntry {
pub user_data: u64,
pub res: i32,
pub flags: u32,
}Expand description
Miroir exact de struct io_uring_cqe (16 octets). Le big_cqe[] (16 o
supplémentaires) de SETUP_CQE32 n’est pas exposé. L’interprétation de
res/flags est à la charge de l’appelant (selon l’opcode soumis).
Fields§
§user_data: u64user_data de l’op (avec RAW_USER_DATA_TAG pour une op brute, §5).
res: i32Résultat brut : -errno si négatif, valeur utile (fd, octets…) sinon.
flags: u32Flags IORING_CQE_F_* (+ id de buffer dans les bits hauts).
Trait Implementations§
Source§impl Clone for RawCompletionQueueEntry
impl Clone for RawCompletionQueueEntry
Source§fn clone(&self) -> RawCompletionQueueEntry
fn clone(&self) -> RawCompletionQueueEntry
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 Debug for RawCompletionQueueEntry
impl Debug for RawCompletionQueueEntry
Source§impl PartialEq for RawCompletionQueueEntry
impl PartialEq for RawCompletionQueueEntry
impl Copy for RawCompletionQueueEntry
impl Eq for RawCompletionQueueEntry
impl StructuralPartialEq for RawCompletionQueueEntry
Auto Trait Implementations§
impl Freeze for RawCompletionQueueEntry
impl RefUnwindSafe for RawCompletionQueueEntry
impl Send for RawCompletionQueueEntry
impl Sync for RawCompletionQueueEntry
impl Unpin for RawCompletionQueueEntry
impl UnsafeUnpin for RawCompletionQueueEntry
impl UnwindSafe for RawCompletionQueueEntry
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