pub enum TelemetryProjectionKind {
Progress,
RunTerminal,
Usage,
CostEstimate,
CostCorrection,
SinkHealth,
RepairCursor,
}Expand description
Enumerates the finite telemetry projection kind cases. Serialized names are part of the SDK contract; update fixtures when variants change.
Variants§
Progress
Use this variant when the contract needs to represent progress; selecting it has no side effect by itself.
RunTerminal
Use this variant when the contract needs to represent run terminal; selecting it has no side effect by itself.
Usage
Use this variant when the contract needs to represent usage; selecting it has no side effect by itself.
CostEstimate
Use this variant when the contract needs to represent cost estimate; selecting it has no side effect by itself.
CostCorrection
Use this variant when the contract needs to represent cost correction; selecting it has no side effect by itself.
SinkHealth
Use this variant when the contract needs to represent sink health; selecting it has no side effect by itself.
RepairCursor
Use this variant when the contract needs to represent repair cursor; selecting it has no side effect by itself.
Implementations§
Source§impl TelemetryProjectionKind
impl TelemetryProjectionKind
Sourcepub fn is_terminal_preserved(&self) -> bool
pub fn is_terminal_preserved(&self) -> bool
Reports whether this value is terminal preserved. The check is pure and does not mutate SDK or host state.
Trait Implementations§
Source§impl Clone for TelemetryProjectionKind
impl Clone for TelemetryProjectionKind
Source§fn clone(&self) -> TelemetryProjectionKind
fn clone(&self) -> TelemetryProjectionKind
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 TelemetryProjectionKind
impl Debug for TelemetryProjectionKind
Source§impl<'de> Deserialize<'de> for TelemetryProjectionKind
impl<'de> Deserialize<'de> for TelemetryProjectionKind
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>,
Source§impl PartialEq for TelemetryProjectionKind
impl PartialEq for TelemetryProjectionKind
Source§fn eq(&self, other: &TelemetryProjectionKind) -> bool
fn eq(&self, other: &TelemetryProjectionKind) -> bool
self and other values to be equal, and is used by ==.