pub enum CommandResponseContent {
Workers(Vec<WorkerInfo>),
Metrics(AggregatedMetricsData),
Query(BTreeMap<String, QueryAnswer>),
State(Box<ConfigState>),
Event(Event),
FrontendList(ListedFrontends),
Status(Vec<WorkerInfo>),
}
Variants§
Workers(Vec<WorkerInfo>)
Metrics(AggregatedMetricsData)
used by the main process to respond to the CLI
Query(BTreeMap<String, QueryAnswer>)
worker_id -> query_answer
State(Box<ConfigState>)
Event(Event)
FrontendList(ListedFrontends)
Status(Vec<WorkerInfo>)
Trait Implementations§
source§impl Clone for CommandResponseContent
impl Clone for CommandResponseContent
source§fn clone(&self) -> CommandResponseContent
fn clone(&self) -> CommandResponseContent
Returns a copy 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 Debug for CommandResponseContent
impl Debug for CommandResponseContent
source§impl<'de> Deserialize<'de> for CommandResponseContent
impl<'de> Deserialize<'de> for CommandResponseContent
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>,
Deserialize this value from the given Serde deserializer. Read more