pub enum OpenTelemetryError {
Metrics(MetricError),
Traces(TraceError),
Logs(LogError),
}Variants§
Trait Implementations§
Source§impl Debug for OpenTelemetryError
impl Debug for OpenTelemetryError
Source§impl Display for OpenTelemetryError
impl Display for OpenTelemetryError
Source§impl Error for OpenTelemetryError
impl Error for OpenTelemetryError
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()
Source§impl From<LogError> for OpenTelemetryError
impl From<LogError> for OpenTelemetryError
Source§impl From<MetricError> for OpenTelemetryError
impl From<MetricError> for OpenTelemetryError
Source§fn from(source: MetricError) -> Self
fn from(source: MetricError) -> Self
Converts to this type from the input type.
Source§impl From<TraceError> for OpenTelemetryError
impl From<TraceError> for OpenTelemetryError
Source§fn from(source: TraceError) -> Self
fn from(source: TraceError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for OpenTelemetryError
impl !RefUnwindSafe for OpenTelemetryError
impl Send for OpenTelemetryError
impl Sync for OpenTelemetryError
impl Unpin for OpenTelemetryError
impl !UnwindSafe for OpenTelemetryError
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