pub enum CqPollState {
Idle,
WaitingFd,
}Expand description
State for poll-based CQ completion drain.
Tracks position in the drain-after-arm loop for poll_completions().
Variants§
Idle
Start a fresh drain-after-arm cycle.
WaitingFd
CQ was armed and polled empty; waiting for fd readiness.
Trait Implementations§
Source§impl Clone for CqPollState
impl Clone for CqPollState
Source§fn clone(&self) -> CqPollState
fn clone(&self) -> CqPollState
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CqPollState
impl Debug for CqPollState
Source§impl Default for CqPollState
impl Default for CqPollState
Source§fn default() -> CqPollState
fn default() -> CqPollState
Returns the “default value” for a type. Read more
Source§impl PartialEq for CqPollState
impl PartialEq for CqPollState
impl Copy for CqPollState
impl Eq for CqPollState
impl StructuralPartialEq for CqPollState
Auto Trait Implementations§
impl Freeze for CqPollState
impl RefUnwindSafe for CqPollState
impl Send for CqPollState
impl Sync for CqPollState
impl Unpin for CqPollState
impl UnsafeUnpin for CqPollState
impl UnwindSafe for CqPollState
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