[][src]Struct iou::IoUring

pub struct IoUring { /* fields omitted */ }

Methods

impl IoUring[src]

pub fn new(entries: u32) -> Result<IoUring>[src]

pub fn new_with_flags(entries: u32, flags: SetupFlags) -> Result<IoUring>[src]

pub fn sq(&mut self) -> SubmissionQueue[src]

pub fn cq(&mut self) -> CompletionQueue[src]

pub fn registrar(&self) -> Registrar[src]

pub fn queues(&mut self) -> (SubmissionQueue, CompletionQueue, Registrar)[src]

pub fn next_sqe(&mut self) -> Option<SubmissionQueueEvent>[src]

pub fn submit_sqes(&mut self) -> Result<usize>[src]

pub fn submit_sqes_and_wait(&mut self, wait_for: u32) -> Result<usize>[src]

pub fn submit_sqes_and_wait_with_timeout(
    &mut self,
    wait_for: u32,
    duration: Duration
) -> Result<usize>
[src]

pub fn peek_for_cqe(&mut self) -> Option<CompletionQueueEvent>[src]

pub fn wait_for_cqe(&mut self) -> Result<CompletionQueueEvent>[src]

pub fn wait_for_cqe_with_timeout(
    &mut self,
    duration: Duration
) -> Result<CompletionQueueEvent>
[src]

pub fn wait_for_cqes(&mut self, count: usize) -> Result<CompletionQueueEvent>[src]

pub fn wait_for_cqes_with_timeout(
    &mut self,
    count: usize,
    duration: Duration
) -> Result<CompletionQueueEvent>
[src]

pub fn raw(&self) -> &io_uring[src]

pub fn raw_mut(&mut self) -> &mut io_uring[src]

Trait Implementations

impl Send for IoUring[src]

impl Sync for IoUring[src]

impl Drop for IoUring[src]

Auto Trait Implementations

Blanket Implementations

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

impl<T> From<T> for 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.

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

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

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