pub enum ProcessTelemetryConfigError {
ReleaseIdentity(ReleaseIdentityError),
NullReleaseCommit,
ReleaseCommitMismatch,
InvalidMetricsEnabled,
InvalidMetricsExporter,
InconsistentMetricsSelection,
InvalidPrometheusBindAddress,
InvalidPrometheusPath,
NonUnicodeEnvironment(&'static str),
}Expand description
Failure while validating process telemetry inputs.
Variants§
ReleaseIdentity(ReleaseIdentityError)
A release identity field is invalid.
NullReleaseCommit
The runtime commit is the all-zero null identity.
ReleaseCommitMismatch
The runtime commit disagrees with the commit embedded in the binary.
InvalidMetricsEnabled
The metrics-enabled value is not the canonical true or false.
InvalidMetricsExporter
The metrics exporter name is unsupported.
InconsistentMetricsSelection
The enabled flag and exporter selection disagree.
InvalidPrometheusBindAddress
The Prometheus address is not a nonzero IP socket address.
InvalidPrometheusPath
The Prometheus path is not canonical and bounded.
NonUnicodeEnvironment(&'static str)
An explicitly supplied environment value is not Unicode.
Trait Implementations§
Source§impl Clone for ProcessTelemetryConfigError
impl Clone for ProcessTelemetryConfigError
impl Copy for ProcessTelemetryConfigError
Source§impl Debug for ProcessTelemetryConfigError
impl Debug for ProcessTelemetryConfigError
impl Eq for ProcessTelemetryConfigError
Source§impl Error for ProcessTelemetryConfigError
impl Error for ProcessTelemetryConfigError
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<ReleaseIdentityError> for ProcessTelemetryConfigError
impl From<ReleaseIdentityError> for ProcessTelemetryConfigError
Source§fn from(source: ReleaseIdentityError) -> Self
fn from(source: ReleaseIdentityError) -> Self
Converts to this type from the input type.
impl StructuralPartialEq for ProcessTelemetryConfigError
Auto Trait Implementations§
impl Freeze for ProcessTelemetryConfigError
impl RefUnwindSafe for ProcessTelemetryConfigError
impl Send for ProcessTelemetryConfigError
impl Sync for ProcessTelemetryConfigError
impl Unpin for ProcessTelemetryConfigError
impl UnsafeUnpin for ProcessTelemetryConfigError
impl UnwindSafe for ProcessTelemetryConfigError
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