Struct opentelemetry::sdk::metrics::AccumulatorBuilder [−][src]
pub struct AccumulatorBuilder { /* fields omitted */ }
This is supported on crate feature
metrics
only.Configuration for an accumulator
Implementations
impl AccumulatorBuilder
[src]
impl AccumulatorBuilder
[src]pub fn with_resource(self, resource: Resource) -> Self
[src]
pub fn with_resource(self, resource: Resource) -> Self
[src]The resource that will be applied to all records in this accumulator.
pub fn build(self) -> Accumulator
[src]
pub fn build(self) -> Accumulator
[src]Create a new accumulator from this configuration
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for AccumulatorBuilder
impl Send for AccumulatorBuilder
impl Sync for AccumulatorBuilder
impl Unpin for AccumulatorBuilder
impl !UnwindSafe for AccumulatorBuilder
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>,