pub enum TelemetryInitError {
FeatureDisabled,
}Expand description
Stub TelemetryInitError exposed when the telemetry feature is off
so that the public signature of init_telemetry does not change
shape between builds. The variant is unreachable in practice — the
noop path always returns Ok.
Variants§
FeatureDisabled
Placeholder ensuring the enum is non-empty without the feature.
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
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 TelemetryInitError
impl RefUnwindSafe for TelemetryInitError
impl Send for TelemetryInitError
impl Sync for TelemetryInitError
impl Unpin for TelemetryInitError
impl UnsafeUnpin for TelemetryInitError
impl UnwindSafe 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