[][src]Struct io_uring::Parameters

pub struct Parameters(_);

Methods

impl Parameters[src]

pub fn is_setup_sqpoll(&self) -> bool[src]

pub fn is_setup_iopoll(&self) -> bool[src]

pub fn is_feature_single_mmap(&self) -> bool[src]

If this flag is set, the two SQ and CQ rings can be mapped with a single mmap(2) call. The SQEs must still be allocated separately. This brings the necessary mmap(2) calls down from three to two.

pub fn is_feature_nodrop(&self) -> bool[src]

If this flag is set, io_uring supports never dropping completion events. If a completion event occurs and the CQ ring is full, the kernel stores the event internally until such a time that the CQ ring has room for more entries.

pub fn is_feature_submit_stable(&self) -> bool[src]

If this flag is set, applications can be certain that any data for async offload has been consumed when the kernel has consumed the SQE

pub fn is_feature_rw_cur_pos(&self) -> bool[src]

pub fn is_feature_cur_personality(&self) -> bool[src]

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

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

Trait Implementations

impl Clone for Parameters[src]

Auto Trait Implementations

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.