pub struct ManagedWorkerReport {
pub commissioned: bool,
pub remedy: Option<String>,
pub workers: Vec<ManagedWorkerStatus>,
pub undecodable: Vec<String>,
pub auto_provision: Vec<AutoWorkerOutcome>,
}Expand description
The whole managed-worker surface for this server.
Fields§
§commissioned: boolWhether a supervision policy is configured on this server.
remedy: Option<String>The remedy for an uncommissioned server, present exactly when
commissioned is false. Absent when there is nothing to remedy.
workers: Vec<ManagedWorkerStatus>One entry per durable deployment, ordered by name.
undecodable: Vec<String>Names of durable rows that are PRESENT but could not be decoded, and are therefore supervised by nothing. Reported rather than dropped: a row the server cannot read is exactly the row an operator needs told about.
auto_provision: Vec<AutoWorkerOutcome>The latest auto-provision outcome for every task queue this server has decided about, ordered by queue.
This is where a queue that has NO worker says why. A deploy answers its own caller, but a boot-time provisioning refusal — a dark outbox on the assistant’s queue, say — has no caller to answer, and an operator asking “why is nothing serving this” hours later needs the reason to still be here. Latest-per-queue, so it is bounded by what has been deployed rather than by how often.
Trait Implementations§
Source§impl Clone for ManagedWorkerReport
impl Clone for ManagedWorkerReport
Source§fn clone(&self) -> ManagedWorkerReport
fn clone(&self) -> ManagedWorkerReport
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for ManagedWorkerReport
impl Debug for ManagedWorkerReport
Source§impl<'de> Deserialize<'de> for ManagedWorkerReport
impl<'de> Deserialize<'de> for ManagedWorkerReport
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
impl Eq for ManagedWorkerReport
Source§impl PartialEq for ManagedWorkerReport
impl PartialEq for ManagedWorkerReport
Source§impl Serialize for ManagedWorkerReport
impl Serialize for ManagedWorkerReport
impl StructuralPartialEq for ManagedWorkerReport
Auto Trait Implementations§
impl Freeze for ManagedWorkerReport
impl RefUnwindSafe for ManagedWorkerReport
impl Send for ManagedWorkerReport
impl Sync for ManagedWorkerReport
impl Unpin for ManagedWorkerReport
impl UnsafeUnpin for ManagedWorkerReport
impl UnwindSafe for ManagedWorkerReport
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<M> EmbeddedConversationMessage for Mwhere
M: Serialize,
impl<M> EmbeddedConversationMessage for Mwhere
M: Serialize,
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
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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> IntoMaybeUndefined<T> for T
impl<T> IntoMaybeUndefined<T> for T
Source§fn into_maybe_undefined(self) -> MaybeUndefined<T>
fn into_maybe_undefined(self) -> MaybeUndefined<T>
Source§impl<T> IntoOption<T> for T
impl<T> IntoOption<T> for T
Source§fn into_option(self) -> Option<T>
fn into_option(self) -> Option<T>
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>
T in a tonic::Request