pub enum TelemetrySinkHealthState {
Healthy,
Failed,
Recovered,
}Expand description
Enumerates the finite telemetry sink health state cases. Serialized names are part of the SDK contract; update fixtures when variants change.
Variants§
Healthy
Use this variant when the contract needs to represent healthy; selecting it has no side effect by itself.
Failed
Use this variant when the contract needs to represent failed; selecting it has no side effect by itself.
Recovered
Use this variant when the contract needs to represent recovered; selecting it has no side effect by itself.
Trait Implementations§
Source§impl Clone for TelemetrySinkHealthState
impl Clone for TelemetrySinkHealthState
Source§fn clone(&self) -> TelemetrySinkHealthState
fn clone(&self) -> TelemetrySinkHealthState
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 TelemetrySinkHealthState
impl Debug for TelemetrySinkHealthState
Source§impl<'de> Deserialize<'de> for TelemetrySinkHealthState
impl<'de> Deserialize<'de> for TelemetrySinkHealthState
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 TelemetrySinkHealthState
impl PartialEq for TelemetrySinkHealthState
Source§fn eq(&self, other: &TelemetrySinkHealthState) -> bool
fn eq(&self, other: &TelemetrySinkHealthState) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for TelemetrySinkHealthState
impl Serialize for TelemetrySinkHealthState
impl Eq for TelemetrySinkHealthState
impl StructuralPartialEq for TelemetrySinkHealthState
Auto Trait Implementations§
impl Freeze for TelemetrySinkHealthState
impl RefUnwindSafe for TelemetrySinkHealthState
impl Send for TelemetrySinkHealthState
impl Sync for TelemetrySinkHealthState
impl Unpin for TelemetrySinkHealthState
impl UnsafeUnpin for TelemetrySinkHealthState
impl UnwindSafe for TelemetrySinkHealthState
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