Struct io_uring::cqueue::Entry[][src]

#[repr(transparent)]pub struct Entry(_);

An entry in the completion queue, representing a complete I/O operation.

Implementations

impl Entry[src]

pub fn result(&self) -> i32[src]

The operation-specific result code. For example, for a Read operation this is equivalent to the return value of the read(2) system call.

pub fn user_data(&self) -> u64[src]

The user data of the request, as set by Entry::user_data on the submission queue event.

pub fn flags(&self) -> u32[src]

Metadata related to the operation.

This is currently used for:

  • Storing the selected buffer ID, if one was selected. See BUFFER_SELECT for more info.

Trait Implementations

impl Clone for Entry[src]

impl Debug for Entry[src]

Auto Trait Implementations

impl RefUnwindSafe for Entry

impl Send for Entry

impl Sync for Entry

impl Unpin for Entry

impl UnwindSafe for Entry

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.