pub enum LoggingHealthState {
Healthy,
DegradedDropping,
Unavailable,
}Expand description
Top-level health state for the lightweight logging layer.
Variants§
Healthy
Logging is operating normally.
DegradedDropping
Logging is operating but dropping some events or flushes.
Logging is unavailable.
Trait Implementations§
Source§impl Clone for LoggingHealthState
impl Clone for LoggingHealthState
Source§fn clone(&self) -> LoggingHealthState
fn clone(&self) -> LoggingHealthState
Returns a duplicate of the value. Read more
1.0.0 · 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 LoggingHealthState
impl Debug for LoggingHealthState
Source§impl<'de> Deserialize<'de> for LoggingHealthState
impl<'de> Deserialize<'de> for LoggingHealthState
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<LoggingHealthState, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<LoggingHealthState, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for LoggingHealthState
impl PartialEq for LoggingHealthState
Source§impl Serialize for LoggingHealthState
impl Serialize for LoggingHealthState
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Copy for LoggingHealthState
impl Eq for LoggingHealthState
impl StructuralPartialEq for LoggingHealthState
Auto Trait Implementations§
impl Freeze for LoggingHealthState
impl RefUnwindSafe for LoggingHealthState
impl Send for LoggingHealthState
impl Sync for LoggingHealthState
impl Unpin for LoggingHealthState
impl UnsafeUnpin for LoggingHealthState
impl UnwindSafe for LoggingHealthState
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