pub enum TelemetrySinkKind {
OpenTelemetry,
DurableTrace,
LocalDiagnostic,
CliSummary,
Test,
}Expand description
Enumerates the finite telemetry sink kind cases. Serialized names are part of the SDK contract; update fixtures when variants change.
Variants§
OpenTelemetry
Use this variant when the contract needs to represent open telemetry; selecting it has no side effect by itself.
DurableTrace
Use this variant when the contract needs to represent durable trace; selecting it has no side effect by itself.
LocalDiagnostic
Use this variant when the contract needs to represent local diagnostic; selecting it has no side effect by itself.
CliSummary
Use this variant when the contract needs to represent cli summary; selecting it has no side effect by itself.
Test
Use this variant when the contract needs to represent test; selecting it has no side effect by itself.
Trait Implementations§
Source§impl Clone for TelemetrySinkKind
impl Clone for TelemetrySinkKind
Source§fn clone(&self) -> TelemetrySinkKind
fn clone(&self) -> TelemetrySinkKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 TelemetrySinkKind
impl Debug for TelemetrySinkKind
Source§impl<'de> Deserialize<'de> for TelemetrySinkKind
impl<'de> Deserialize<'de> for TelemetrySinkKind
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
Source§impl PartialEq for TelemetrySinkKind
impl PartialEq for TelemetrySinkKind
Source§fn eq(&self, other: &TelemetrySinkKind) -> bool
fn eq(&self, other: &TelemetrySinkKind) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for TelemetrySinkKind
impl Serialize for TelemetrySinkKind
impl Eq for TelemetrySinkKind
impl StructuralPartialEq for TelemetrySinkKind
Auto Trait Implementations§
impl Freeze for TelemetrySinkKind
impl RefUnwindSafe for TelemetrySinkKind
impl Send for TelemetrySinkKind
impl Sync for TelemetrySinkKind
impl Unpin for TelemetrySinkKind
impl UnsafeUnpin for TelemetrySinkKind
impl UnwindSafe for TelemetrySinkKind
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
Mutably borrows from an owned value. Read more