[−][src]Struct ring_io::cq::CompletionQueue
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]
&'s mut self,
cqes: &'c mut [Option<&'s CQE>]
) -> &'c [&'s CQE]
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
impl<'r> !RefUnwindSafe for CompletionQueue<'r>
[src]
impl<'r> Unpin for CompletionQueue<'r>
[src]
impl<'r> !UnwindSafe for CompletionQueue<'r>
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,