[][src]Struct uring::IoUring

pub struct IoUring {
    pub sq_entries: u32,
    pub cq_entries: u32,
    pub flags: u32,
    pub sq_thread_cpu: u32,
    pub sq_thread_idle: u32,
}

Fields

sq_entries: u32cq_entries: u32flags: u32sq_thread_cpu: u32sq_thread_idle: u32

Methods

impl IoUring[src]

pub fn with_entries(sq_entries: u32) -> Self[src]

pub fn setup(&self) -> Result<(SubmissionQueue, CompletionQueue)>[src]

Trait Implementations

impl Default for IoUring[src]

Auto Trait Implementations

impl RefUnwindSafe for IoUring

impl Send for IoUring

impl Sync for IoUring

impl Unpin for IoUring

impl UnwindSafe for IoUring

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.