pub struct DefaultTemporalitySelector { /* private fields */ }
Expand description
The default temporality used if not specified for a given InstrumentKind.
Temporality::Cumulative will be used for all instrument kinds if this TemporalitySelector is used.
Implementations§
Trait Implementations§
source§impl Clone for DefaultTemporalitySelector
impl Clone for DefaultTemporalitySelector
source§fn clone(&self) -> DefaultTemporalitySelector
fn clone(&self) -> DefaultTemporalitySelector
Returns a copy 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 DefaultTemporalitySelector
impl Debug for DefaultTemporalitySelector
source§impl Default for DefaultTemporalitySelector
impl Default for DefaultTemporalitySelector
source§fn default() -> DefaultTemporalitySelector
fn default() -> DefaultTemporalitySelector
Returns the “default value” for a type. Read more
source§impl TemporalitySelector for DefaultTemporalitySelector
impl TemporalitySelector for DefaultTemporalitySelector
source§fn temporality(&self, _kind: InstrumentKind) -> Temporality
fn temporality(&self, _kind: InstrumentKind) -> Temporality
Selects the temporality to use based on the InstrumentKind.
Auto Trait Implementations§
impl Freeze for DefaultTemporalitySelector
impl RefUnwindSafe for DefaultTemporalitySelector
impl Send for DefaultTemporalitySelector
impl Sync for DefaultTemporalitySelector
impl Unpin for DefaultTemporalitySelector
impl UnwindSafe for DefaultTemporalitySelector
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)