pub struct CompletionQueue { /* private fields */ }
Implementations§
Source§impl CompletionQueue
impl CompletionQueue
Sourcepub fn overflow(&self) -> u32
pub fn overflow(&self) -> u32
If queue is full, the new event maybe dropped. This value records number of dropped events.
pub fn capacity(&self) -> usize
pub fn len(&self) -> usize
pub fn is_empty(&self) -> bool
pub fn is_full(&self) -> bool
Sourcepub fn available(&mut self) -> AvailableQueue<'_> ⓘ
pub fn available(&mut self) -> AvailableQueue<'_> ⓘ
Get currently available completion queue
Auto Trait Implementations§
impl Freeze for CompletionQueue
impl RefUnwindSafe for CompletionQueue
impl !Send for CompletionQueue
impl !Sync for CompletionQueue
impl Unpin for CompletionQueue
impl UnwindSafe for CompletionQueue
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more