pub(super) enum ActiveReplicationResponse<T = Timestamp> {
FrontierUppers(Vec<(GlobalId, FrontierBounds<T>)>),
PeekResponse(Uuid, PeekResponse, OpenTelemetryContext),
PeekFinished(Uuid),
SubscribeResponse(GlobalId, SubscribeResponse<T>),
ReplicaHeartbeat(ReplicaId, DateTime<Utc>),
}
Expand description
A response from the ActiveReplication client.
Variants
FrontierUppers(Vec<(GlobalId, FrontierBounds<T>)>)
A list of identifiers of traces, with new lower and upper bounds of upper frontiers.
PeekResponse(Uuid, PeekResponse, OpenTelemetryContext)
The compute instance’s response to the specified peek.
PeekFinished(Uuid)
A notification that all replicas have finished processing the specified peek.
This is different from PeekResponse
, because we respond to a peek immediately upon seeing
the first response for it. PeekFinished
reports that it is now allowed to release any
read holds installed for the peek.
SubscribeResponse(GlobalId, SubscribeResponse<T>)
The compute instance’s next response to the specified subscribe.
ReplicaHeartbeat(ReplicaId, DateTime<Utc>)
A notification that we heard a response from the given replica at the given time.
Trait Implementations
sourceimpl<T: Clone> Clone for ActiveReplicationResponse<T>
impl<T: Clone> Clone for ActiveReplicationResponse<T>
sourcefn clone(&self) -> ActiveReplicationResponse<T>
fn clone(&self) -> ActiveReplicationResponse<T>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations
impl<T> RefUnwindSafe for ActiveReplicationResponse<T>where
T: RefUnwindSafe,
impl<T> Send for ActiveReplicationResponse<T>where
T: Send,
impl<T> Sync for ActiveReplicationResponse<T>where
T: Sync,
impl<T> Unpin for ActiveReplicationResponse<T>where
T: Unpin,
impl<T> UnwindSafe for ActiveReplicationResponse<T>where
T: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> FutureExt for T
impl<T> FutureExt for T
sourcefn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
sourcefn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
sourcefn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request
sourceimpl<T> Pointable for T
impl<T> Pointable for T
sourceimpl<T> ProgressEventTimestamp for Twhere
T: Data + Debug + Any,
impl<T> ProgressEventTimestamp for Twhere
T: Data + Debug + Any,
sourceimpl<P, R> ProtoType<R> for Pwhere
R: RustType<P>,
impl<P, R> ProtoType<R> for Pwhere
R: RustType<P>,
sourcefn into_rust(self) -> Result<R, TryFromProtoError>
fn into_rust(self) -> Result<R, TryFromProtoError>
See
RustType::from_proto
.sourcefn from_rust(rust: &R) -> P
fn from_rust(rust: &R) -> P
See
RustType::into_proto
.