pub enum SystemTarget {
Show 14 variants
McpProcessCold,
McpInitialize,
McpPing,
McpToolsList,
McpResourcesList,
McpResourcesRead,
HttpIndex,
HttpHome,
HttpOpenApi,
HttpSwagger,
HttpCockpitOverview,
HttpCockpitCapabilities,
HttpCockpitGraph,
HttpIndexLive,
}Expand description
One system target.
Variants§
McpProcessCold
A fresh majordomus mcp process: spawn, initialize, first tools/list.
McpInitialize
initialize on a running process.
McpPing
ping.
McpToolsList
tools/list.
McpResourcesList
resources/list.
McpResourcesRead
resources/read of the first declarative resource.
HttpIndex
GET /: the topology as JSON, what a client that asks for no page receives.
HttpHome
GET / with Accept: text/html: the home page, rendered from the topology.
HttpOpenApi
GET /openapi.json.
HttpSwagger
GET /swagger.
HttpCockpitOverview
GET /cockpit: the Cockpit’s landing page, rendered.
HttpCockpitCapabilities
GET /cockpit/capabilities: the whole registry as a table, the widest page there is.
HttpCockpitGraph
GET /cockpit/graphs/registry: a page whose content is a derived graph.
HttpIndexLive
GET / over the live view a served process follows the repository with: the
per-request generation check (a stamp of the watched git control files, compared
with the generation held) and the surface resolution, on the cheapest route there
is. Its difference from system.http.index is what following git costs a request.
Implementations§
Source§impl SystemTarget
impl SystemTarget
Sourcepub const ALL: [SystemTarget; 14]
pub const ALL: [SystemTarget; 14]
Every system target, in a stable order.
Sourcepub fn description(self) -> &'static str
pub fn description(self) -> &'static str
One line of what is measured.
Trait Implementations§
Source§impl Clone for SystemTarget
impl Clone for SystemTarget
Source§fn clone(&self) -> SystemTarget
fn clone(&self) -> SystemTarget
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreimpl Copy for SystemTarget
Source§impl Debug for SystemTarget
impl Debug for SystemTarget
Source§impl<'de> Deserialize<'de> for SystemTarget
impl<'de> Deserialize<'de> for SystemTarget
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 SystemTarget
Source§impl Hash for SystemTarget
impl Hash for SystemTarget
Source§impl JsonSchema for SystemTarget
impl JsonSchema for SystemTarget
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
$ref keyword. Read moreSource§impl Ord for SystemTarget
impl Ord for SystemTarget
Source§fn cmp(&self, other: &SystemTarget) -> Ordering
fn cmp(&self, other: &SystemTarget) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Source§impl PartialEq for SystemTarget
impl PartialEq for SystemTarget
Source§fn eq(&self, other: &SystemTarget) -> bool
fn eq(&self, other: &SystemTarget) -> bool
self and other values to be equal, and is used by ==.Source§impl PartialOrd for SystemTarget
impl PartialOrd for SystemTarget
Source§impl Serialize for SystemTarget
impl Serialize for SystemTarget
impl StructuralPartialEq for SystemTarget
Auto Trait Implementations§
impl Freeze for SystemTarget
impl RefUnwindSafe for SystemTarget
impl Send for SystemTarget
impl Sync for SystemTarget
impl Unpin for SystemTarget
impl UnsafeUnpin for SystemTarget
impl UnwindSafe for SystemTarget
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<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.