pub struct TelemetryShutdownReport {
pub subscriber_installed: bool,
pub file_log_enabled: bool,
pub dropped_log_lines: usize,
pub logs_shutdown_ok: bool,
pub traces_shutdown_ok: bool,
pub metrics_shutdown_ok: bool,
pub logs_shutdown_error: Option<String>,
pub traces_shutdown_error: Option<String>,
pub metrics_shutdown_error: Option<String>,
}Fields§
§subscriber_installed: bool§file_log_enabled: bool§dropped_log_lines: usize§logs_shutdown_ok: bool§traces_shutdown_ok: bool§metrics_shutdown_ok: bool§logs_shutdown_error: Option<String>§traces_shutdown_error: Option<String>§metrics_shutdown_error: Option<String>Implementations§
Source§impl TelemetryShutdownReport
impl TelemetryShutdownReport
pub fn is_healthy(&self) -> bool
pub fn into_result(self) -> Result<Self, ObservabilityError>
pub fn to_json(&self) -> String
Trait Implementations§
Source§impl Clone for TelemetryShutdownReport
impl Clone for TelemetryShutdownReport
Source§impl Debug for TelemetryShutdownReport
impl Debug for TelemetryShutdownReport
impl Eq for TelemetryShutdownReport
Source§impl PartialEq for TelemetryShutdownReport
impl PartialEq for TelemetryShutdownReport
Source§impl Serialize for TelemetryShutdownReport
impl Serialize for TelemetryShutdownReport
impl StructuralPartialEq for TelemetryShutdownReport
Auto Trait Implementations§
impl Freeze for TelemetryShutdownReport
impl RefUnwindSafe for TelemetryShutdownReport
impl Send for TelemetryShutdownReport
impl Sync for TelemetryShutdownReport
impl Unpin for TelemetryShutdownReport
impl UnsafeUnpin for TelemetryShutdownReport
impl UnwindSafe for TelemetryShutdownReport
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