pub enum ResolveOutcome {
Applied,
Duplicate,
AlreadyAdvanced,
Unregistered,
}Expand description
Result of applying one resolution to the tracker.
Variants§
Applied
The batch moved from pending to delivered or failed.
Duplicate
The batch was already resolved — duplicate resolution message.
AlreadyAdvanced
The sequence number precedes the tracked window: the batch already advanced through the watermark. Duplicate of a consumed resolution.
Unregistered
The sequence number is ahead of every registration seen so far. With a correctly ordered driver this means the registration is still in flight; the caller should retry after draining registrations.
Trait Implementations§
Source§impl Clone for ResolveOutcome
impl Clone for ResolveOutcome
Source§fn clone(&self) -> ResolveOutcome
fn clone(&self) -> ResolveOutcome
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 moreSource§impl Debug for ResolveOutcome
impl Debug for ResolveOutcome
Source§impl PartialEq for ResolveOutcome
impl PartialEq for ResolveOutcome
Source§fn eq(&self, other: &ResolveOutcome) -> bool
fn eq(&self, other: &ResolveOutcome) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for ResolveOutcome
impl Eq for ResolveOutcome
impl StructuralPartialEq for ResolveOutcome
Auto Trait Implementations§
impl Freeze for ResolveOutcome
impl RefUnwindSafe for ResolveOutcome
impl Send for ResolveOutcome
impl Sync for ResolveOutcome
impl Unpin for ResolveOutcome
impl UnsafeUnpin for ResolveOutcome
impl UnwindSafe for ResolveOutcome
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more