Struct opentelemetry::metrics::CounterBuilder [−][src]
pub struct CounterBuilder<'a, T> { /* fields omitted */ }
This is supported on crate feature
metrics
only.Configuration for building a counter.
Implementations
impl<'a, T> CounterBuilder<'a, T>
[src]
impl<'a, T> CounterBuilder<'a, T>
[src]pub fn with_description<S: Into<String>>(self, description: S) -> Self
[src]
pub fn with_description<S: Into<String>>(self, description: S) -> Self
[src]Set the description for this counter
Trait Implementations
Auto Trait Implementations
impl<'a, T> !RefUnwindSafe for CounterBuilder<'a, T>
impl<'a, T> Send for CounterBuilder<'a, T> where
T: Send,
T: Send,
impl<'a, T> Sync for CounterBuilder<'a, T> where
T: Sync,
T: Sync,
impl<'a, T> Unpin for CounterBuilder<'a, T> where
T: Unpin,
T: Unpin,
impl<'a, T> !UnwindSafe for CounterBuilder<'a, T>
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,