pub struct UniqueInstrumentMeterCore { /* private fields */ }
Available on crate feature
metrics
only.Expand description
Implements the MeterCore
interface, adding uniqueness checking for
instrument descriptors.
Trait Implementations
sourceimpl Debug for UniqueInstrumentMeterCore
impl Debug for UniqueInstrumentMeterCore
sourceimpl MeterCore for UniqueInstrumentMeterCore
impl MeterCore for UniqueInstrumentMeterCore
sourcefn new_sync_instrument(
&self,
descriptor: Descriptor
) -> Result<Arc<dyn SyncInstrumentCore + Send + Sync>>
fn new_sync_instrument(
&self,
descriptor: Descriptor
) -> Result<Arc<dyn SyncInstrumentCore + Send + Sync>>
Create a new synchronous instrument implementation.
sourcefn new_async_instrument(
&self,
descriptor: Descriptor
) -> Result<Arc<dyn AsyncInstrumentCore + Send + Sync>>
fn new_async_instrument(
&self,
descriptor: Descriptor
) -> Result<Arc<dyn AsyncInstrumentCore + Send + Sync>>
Create a new asynchronous instrument implementation. Read more
Auto Trait Implementations
impl !RefUnwindSafe for UniqueInstrumentMeterCore
impl Send for UniqueInstrumentMeterCore
impl Sync for UniqueInstrumentMeterCore
impl Unpin for UniqueInstrumentMeterCore
impl !UnwindSafe for UniqueInstrumentMeterCore
Blanket Implementations
sourceimpl<T> AnyMeterCore for Twhere
T: 'static + MeterCore,
impl<T> AnyMeterCore for Twhere
T: 'static + MeterCore,
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more