pub enum MonitoringError {
MetricsCollection(String),
HealthCheck(String),
PrometheusExport(String),
Configuration(String),
Storage(String),
HttpServer(String),
}
Expand description
Monitoring errors
Variants§
MetricsCollection(String)
HealthCheck(String)
PrometheusExport(String)
Configuration(String)
Storage(String)
HttpServer(String)
Trait Implementations§
Source§impl Debug for MonitoringError
impl Debug for MonitoringError
Source§impl Display for MonitoringError
impl Display for MonitoringError
Source§impl Error for MonitoringError
impl Error for MonitoringError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Auto Trait Implementations§
impl Freeze for MonitoringError
impl RefUnwindSafe for MonitoringError
impl Send for MonitoringError
impl Sync for MonitoringError
impl Unpin for MonitoringError
impl UnwindSafe for MonitoringError
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