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
impl 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
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