pub enum IngestDecision<WorkerId> {
Route(WorkerId),
DropStale,
NoRoute,
}Expand description
Routing decision made by an ingest router.
Variants§
Route(WorkerId)
Send the write to this worker.
DropStale
Drop the write because it is older than the configured watermark.
NoRoute
No assigned range matched the write key.
Trait Implementations§
Source§impl<WorkerId: Clone> Clone for IngestDecision<WorkerId>
impl<WorkerId: Clone> Clone for IngestDecision<WorkerId>
Source§fn clone(&self) -> IngestDecision<WorkerId>
fn clone(&self) -> IngestDecision<WorkerId>
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<WorkerId: Debug> Debug for IngestDecision<WorkerId>
impl<WorkerId: Debug> Debug for IngestDecision<WorkerId>
Source§impl<WorkerId: PartialEq> PartialEq for IngestDecision<WorkerId>
impl<WorkerId: PartialEq> PartialEq for IngestDecision<WorkerId>
impl<WorkerId: Eq> Eq for IngestDecision<WorkerId>
impl<WorkerId> StructuralPartialEq for IngestDecision<WorkerId>
Auto Trait Implementations§
impl<WorkerId> Freeze for IngestDecision<WorkerId>where
WorkerId: Freeze,
impl<WorkerId> RefUnwindSafe for IngestDecision<WorkerId>where
WorkerId: RefUnwindSafe,
impl<WorkerId> Send for IngestDecision<WorkerId>where
WorkerId: Send,
impl<WorkerId> Sync for IngestDecision<WorkerId>where
WorkerId: Sync,
impl<WorkerId> Unpin for IngestDecision<WorkerId>where
WorkerId: Unpin,
impl<WorkerId> UnsafeUnpin for IngestDecision<WorkerId>where
WorkerId: UnsafeUnpin,
impl<WorkerId> UnwindSafe for IngestDecision<WorkerId>where
WorkerId: UnwindSafe,
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