pub enum TelemetrySinkFailureKind {
Overflow,
ExportRejected,
Serialization,
SchemaMismatch,
SinkUnavailable,
}Expand description
Enumerates the finite telemetry sink failure kind cases. Serialized names are part of the SDK contract; update fixtures when variants change.
Variants§
Overflow
Use this variant when the contract needs to represent overflow; selecting it has no side effect by itself.
ExportRejected
Use this variant when the contract needs to represent export rejected; selecting it has no side effect by itself.
Serialization
Use this variant when the contract needs to represent serialization; selecting it has no side effect by itself.
SchemaMismatch
Use this variant when the contract needs to represent schema mismatch; selecting it has no side effect by itself.
Use this variant when the contract needs to represent sink unavailable; selecting it has no side effect by itself.
Trait Implementations§
Source§impl Clone for TelemetrySinkFailureKind
impl Clone for TelemetrySinkFailureKind
Source§fn clone(&self) -> TelemetrySinkFailureKind
fn clone(&self) -> TelemetrySinkFailureKind
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 TelemetrySinkFailureKind
impl Debug for TelemetrySinkFailureKind
Source§impl<'de> Deserialize<'de> for TelemetrySinkFailureKind
impl<'de> Deserialize<'de> for TelemetrySinkFailureKind
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 TelemetrySinkFailureKind
impl PartialEq for TelemetrySinkFailureKind
Source§fn eq(&self, other: &TelemetrySinkFailureKind) -> bool
fn eq(&self, other: &TelemetrySinkFailureKind) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for TelemetrySinkFailureKind
impl Serialize for TelemetrySinkFailureKind
impl Eq for TelemetrySinkFailureKind
impl StructuralPartialEq for TelemetrySinkFailureKind
Auto Trait Implementations§
impl Freeze for TelemetrySinkFailureKind
impl RefUnwindSafe for TelemetrySinkFailureKind
impl Send for TelemetrySinkFailureKind
impl Sync for TelemetrySinkFailureKind
impl Unpin for TelemetrySinkFailureKind
impl UnsafeUnpin for TelemetrySinkFailureKind
impl UnwindSafe for TelemetrySinkFailureKind
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