pub enum OtelSupport {
Enabled,
Disabled,
Unsupported,
}Expand description
OpenTelemetry support status for a framework.
This enum replaces the ambiguous Option<bool> pattern to provide
clear semantics for OTEL support detection.
Variants§
Enabled
OTEL is configured and enabled for this framework.
Disabled
OTEL is supported by this framework but not currently enabled.
Unsupported
This framework does not support OTEL.
Trait Implementations§
Source§impl Clone for OtelSupport
impl Clone for OtelSupport
Source§fn clone(&self) -> OtelSupport
fn clone(&self) -> OtelSupport
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for OtelSupport
impl Debug for OtelSupport
Source§impl Default for OtelSupport
impl Default for OtelSupport
Source§fn default() -> OtelSupport
fn default() -> OtelSupport
Returns the “default value” for a type. Read more
Source§impl PartialEq for OtelSupport
impl PartialEq for OtelSupport
impl Copy for OtelSupport
impl Eq for OtelSupport
impl StructuralPartialEq for OtelSupport
Auto Trait Implementations§
impl Freeze for OtelSupport
impl RefUnwindSafe for OtelSupport
impl Send for OtelSupport
impl Sync for OtelSupport
impl Unpin for OtelSupport
impl UnwindSafe for OtelSupport
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