[][src]Struct syscall::io_uring::IoUringCreateInfo

#[repr(C)]pub struct IoUringCreateInfo {
    pub version: IoUringVersion,
    pub _rsvd: u8,
    pub flags: u32,
    pub len: usize,
    pub sq_entry_count: usize,
    pub cq_entry_count: usize,
}

The information that has to be written to the fd when creating a new or opening an existing io_uring instance.

Fields

version: IoUringVersion

The version of Redox's io_uring to use.

_rsvd: u8

Reserved for future use.

flags: u32

The flags to create the uring with, which is an instance of IoUringCreateFlags.

len: usize

The length of the total create info struct.

sq_entry_count: usize

The number of elements that are meant to reside in the submission queue.

cq_entry_count: usize

The number of elements that are meant to reside in the submission queue.

Trait Implementations

impl Clone for IoUringCreateInfo[src]

impl Copy for IoUringCreateInfo[src]

impl Debug for IoUringCreateInfo[src]

Auto Trait Implementations

impl Send for IoUringCreateInfo

impl Sync for IoUringCreateInfo

impl Unpin for IoUringCreateInfo

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.