pub struct SinkHealth {
pub name: SinkName,
pub state: SinkHealthState,
pub last_error: Option<DiagnosticSummary>,
}Expand description
Health summary for one concrete logging sink.
Fields§
§name: SinkNameStable sink name.
state: SinkHealthStateCurrent sink health state.
last_error: Option<DiagnosticSummary>Optional last sink error summary.
Trait Implementations§
Source§impl Clone for SinkHealth
impl Clone for SinkHealth
Source§fn clone(&self) -> SinkHealth
fn clone(&self) -> SinkHealth
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 SinkHealth
impl Debug for SinkHealth
Source§impl<'de> Deserialize<'de> for SinkHealth
impl<'de> Deserialize<'de> for SinkHealth
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<SinkHealth, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<SinkHealth, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for SinkHealth
impl PartialEq for SinkHealth
Source§impl Serialize for SinkHealth
impl Serialize for SinkHealth
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 StructuralPartialEq for SinkHealth
Auto Trait Implementations§
impl Freeze for SinkHealth
impl RefUnwindSafe for SinkHealth
impl Send for SinkHealth
impl Sync for SinkHealth
impl Unpin for SinkHealth
impl UnsafeUnpin for SinkHealth
impl UnwindSafe for SinkHealth
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