pub enum Ordering {
None,
InsertionTs,
}Expand description
Ordering mode for consumed events.
Variants§
None
Return events in arbitrary order (fastest).
Cross-shard order is non-deterministic. Events from a
given shard preserve their per-shard arrival order, but the
interleaving across shards depends on futures::join_all’s
completion order — which varies with runtime scheduling,
adapter latency, and concurrent load. Callers that need a
stable order across polls must use Ordering::InsertionTs
or sort the response themselves (e.g. by (shard_id, id)).
InsertionTs
Sort events by insertion timestamp (cross-shard ordering).
Trait Implementations§
impl Copy for Ordering
impl Eq for Ordering
impl StructuralPartialEq for Ordering
Auto Trait Implementations§
impl Freeze for Ordering
impl RefUnwindSafe for Ordering
impl Send for Ordering
impl Sync for Ordering
impl Unpin for Ordering
impl UnsafeUnpin for Ordering
impl UnwindSafe for Ordering
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,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.