[][src]Struct ring_io::cq::CompletionQueue

pub struct CompletionQueue<'r> { /* fields omitted */ }

Implementations

impl CompletionQueue<'_>[src]

pub fn peek_cqe(&mut self) -> Option<&CQE>[src]

pub fn peek_batch_cqe<'c, 's: 'c>(
    &'s mut self,
    cqes: &'c mut [Option<&'s CQE>]
) -> &'c [&'s CQE]
[src]

pub fn advance(&mut self, n: u32)[src]

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

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

pub fn toggle_eventfd(&mut self, enabled: bool) -> Result<()>[src]

pub fn wait_cqes(&mut self, count: u32) -> Result<()>[src]

Trait Implementations

impl Debug for CompletionQueue<'_>[src]

impl Send for CompletionQueue<'_>[src]

impl Sync for CompletionQueue<'_>[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, 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.