pub enum Confirm {
RawAnchor {
span: OffsetSpan,
},
DerivedCoverage {
span: OffsetSpan,
},
None,
}Expand description
What to do once a burst is durably acknowledged.
Variants§
RawAnchor
Primary-raw lane: this span is the recovery anchor. Advancing its coverage is what lets the source position advance (ADR-0038).
Fields
§
span: OffsetSpanThe source span the acknowledged records cover.
DerivedCoverage
Secondary/derived lane: advance this sink’s coverage so recovery knows it no longer needs to replay the span. Never gates the source.
Fields
§
span: OffsetSpanThe source span the acknowledged records cover.
None
Nothing to record for this item (e.g. an internal control batch).
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Confirm
impl RefUnwindSafe for Confirm
impl Send for Confirm
impl Sync for Confirm
impl Unpin for Confirm
impl UnwindSafe for Confirm
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<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request§impl<L> LayerExt<L> for L
impl<L> LayerExt<L> for L
§fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
Applies the layer to a service and wraps it in [
Layered].