[][src]Struct syscall::io_uring::IoUringRecvInfo

#[repr(C)]pub struct IoUringRecvInfo {
    pub version: IoUringVersion,
    pub flags: u32,
    pub len: usize,
    pub sq_entry_count: usize,
    pub cq_entry_count: usize,
    pub sr_virtaddr: usize,
    pub cr_virtaddr: usize,
    pub se_virtaddr: usize,
    pub ce_virtaddr: usize,
}

The information that is accessed by a scheme when it is being attached to an io_uring.

Fields

version: IoUringVersion

The version of Redox's io_uring in use.

flags: u32

The flags the uring was created with, which is an instance of IoUringRecvFlags.

len: usize

The length of the total recv info struct.

sq_entry_count: usize

The number of submission elements that reside in the submission queue.

cq_entry_count: usize

The number of completion elements that reside in the completion queue.

sr_virtaddr: usize

A virtual address of the SQ, accessible from the scheme that gets a pointer to this struct.

cr_virtaddr: usize

A virtual address of the CQ, accessible from the scheme that gets a pointer to this struct.

se_virtaddr: usize

A virtual address of the SQEs, accessible from the scheme that gets a pointer to this struct.

ce_virtaddr: usize

A virtual address of the CQEs, accessible from the scheme that gets a pointer to this struct.

Trait Implementations

impl Clone for IoUringRecvInfo[src]

impl Copy for IoUringRecvInfo[src]

impl Debug for IoUringRecvInfo[src]

Auto Trait Implementations

impl Send for IoUringRecvInfo

impl Sync for IoUringRecvInfo

impl Unpin for IoUringRecvInfo

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, 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.