pub enum ComputeControllerResponse<T> {
PeekResponse(Uuid, PeekResponse, OpenTelemetryContext),
SubscribeResponse(GlobalId, SubscribeResponse<T>),
ReplicaHeartbeat(ReplicaId, DateTime<Utc>),
ReplicaMetrics(ReplicaId, Vec<ServiceProcessMetrics>),
ReplicaWriteFrontiers(BTreeMap<ReplicaId, Vec<(GlobalId, T)>>),
}
Expand description
Responses from the compute controller.
Variants§
PeekResponse(Uuid, PeekResponse, OpenTelemetryContext)
SubscribeResponse(GlobalId, SubscribeResponse<T>)
ReplicaHeartbeat(ReplicaId, DateTime<Utc>)
A notification that we heard a response from the given replica at the given time.
ReplicaMetrics(ReplicaId, Vec<ServiceProcessMetrics>)
A notification that new resource usage metrics are available for a given replica.
ReplicaWriteFrontiers(BTreeMap<ReplicaId, Vec<(GlobalId, T)>>)
A notification that the write frontiers of the replicas have changed.
Trait Implementations§
Auto Trait Implementations§
impl<T> RefUnwindSafe for ComputeControllerResponse<T>where
T: RefUnwindSafe,
impl<T> Send for ComputeControllerResponse<T>where
T: Send,
impl<T> Sync for ComputeControllerResponse<T>where
T: Sync,
impl<T> Unpin for ComputeControllerResponse<T>where
T: Unpin,
impl<T> UnwindSafe for ComputeControllerResponse<T>where
T: UnwindSafe + RefUnwindSafe,
Blanket Implementations§
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request
source§impl<T> Pointable for T
impl<T> Pointable for T
source§impl<P, R> ProtoType<R> for Pwhere
R: RustType<P>,
impl<P, R> ProtoType<R> for Pwhere
R: RustType<P>,
source§fn into_rust(self) -> Result<R, TryFromProtoError>
fn into_rust(self) -> Result<R, TryFromProtoError>
See
RustType::from_proto
.source§fn from_rust(rust: &R) -> P
fn from_rust(rust: &R) -> P
See
RustType::into_proto
.