pub enum TelemetryInitError {
MissingOtlpEndpoint,
InvalidSampleRatio(f64),
InvalidHeaderName(String),
InvalidHeaderValue(String),
HttpClient(Error),
TraceExporter(ExporterBuildError),
MetricExporter(ExporterBuildError),
}Variants§
MissingOtlpEndpoint
InvalidSampleRatio(f64)
InvalidHeaderName(String)
InvalidHeaderValue(String)
HttpClient(Error)
TraceExporter(ExporterBuildError)
MetricExporter(ExporterBuildError)
Trait Implementations§
Source§impl Debug for TelemetryInitError
impl Debug for TelemetryInitError
Source§impl Display for TelemetryInitError
impl Display for TelemetryInitError
Source§impl Error for TelemetryInitError
impl Error for TelemetryInitError
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 !RefUnwindSafe for TelemetryInitError
impl !UnwindSafe for TelemetryInitError
impl Freeze for TelemetryInitError
impl Send for TelemetryInitError
impl Sync for TelemetryInitError
impl Unpin for TelemetryInitError
impl UnsafeUnpin for TelemetryInitError
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