pub enum PumpResult {
Idle,
Completion {
request_id: u64,
},
UnexpectedCompletion,
NeedsReset,
}Expand description
Result of consuming at most one used-ring entry.
Variants§
Idle
No completion was available.
Completion
One tracked completion was retained for its pending token.
UnexpectedCompletion
A used chain had no live matching publication.
NeedsReset
Client already requires reset.
Trait Implementations§
Source§impl Clone for PumpResult
impl Clone for PumpResult
Source§fn clone(&self) -> PumpResult
fn clone(&self) -> PumpResult
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for PumpResult
Source§impl Debug for PumpResult
impl Debug for PumpResult
impl Eq for PumpResult
Source§impl PartialEq for PumpResult
impl PartialEq for PumpResult
Source§fn eq(&self, other: &PumpResult) -> bool
fn eq(&self, other: &PumpResult) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PumpResult
Auto Trait Implementations§
impl Freeze for PumpResult
impl RefUnwindSafe for PumpResult
impl Send for PumpResult
impl Sync for PumpResult
impl Unpin for PumpResult
impl UnsafeUnpin for PumpResult
impl UnwindSafe for PumpResult
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