[][src]Struct opentelemetry::api::metrics::noop::NoopHandle

pub struct NoopHandle<T> { /* fields omitted */ }

A no-op instance of all metric InstrumentHandler

Trait Implementations

impl<T> CounterHandle<T> for NoopHandle<T> where
    T: Into<MeasurementValue>, 
[src]

impl<T> GaugeHandle<T> for NoopHandle<T> where
    T: Into<MeasurementValue>, 
[src]

impl<T> MeasureHandle<T> for NoopHandle<T> where
    T: Into<MeasurementValue>, 
[src]

impl<T> Instrument<NoopLabelSet> for NoopHandle<T>[src]

impl<T> InstrumentHandle for NoopHandle<T>[src]

fn record_one(&self, _value: MeasurementValue)[src]

Ignores all measurement values.

impl<T: Debug> Debug for NoopHandle<T>[src]

Auto Trait Implementations

impl<T> Send for NoopHandle<T> where
    T: Send

impl<T> Sync for NoopHandle<T> where
    T: Sync

impl<T> Unpin for NoopHandle<T> where
    T: Unpin

impl<T> UnwindSafe for NoopHandle<T> where
    T: UnwindSafe

impl<T> RefUnwindSafe for NoopHandle<T> where
    T: RefUnwindSafe

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,