Struct opentelemetry::sdk::trace::EvictedHashMap
source · pub struct EvictedHashMap { /* private fields */ }
Expand description
A hash map with a capped number of attributes that retains the most recently set entries.
Implementations§
source§impl EvictedHashMap
impl EvictedHashMap
Trait Implementations§
source§impl Clone for EvictedHashMap
impl Clone for EvictedHashMap
source§fn clone(&self) -> EvictedHashMap
fn clone(&self) -> EvictedHashMap
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 EvictedHashMap
impl Debug for EvictedHashMap
source§impl<'de> Deserialize<'de> for EvictedHashMap
impl<'de> Deserialize<'de> for EvictedHashMap
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl<'a> IntoIterator for &'a EvictedHashMap
impl<'a> IntoIterator for &'a EvictedHashMap
source§impl IntoIterator for EvictedHashMap
impl IntoIterator for EvictedHashMap
source§impl PartialEq for EvictedHashMap
impl PartialEq for EvictedHashMap
source§fn eq(&self, other: &EvictedHashMap) -> bool
fn eq(&self, other: &EvictedHashMap) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for EvictedHashMap
impl Serialize for EvictedHashMap
impl StructuralPartialEq for EvictedHashMap
Auto Trait Implementations§
impl RefUnwindSafe for EvictedHashMap
impl Send for EvictedHashMap
impl Sync for EvictedHashMap
impl Unpin for EvictedHashMap
impl UnwindSafe for EvictedHashMap
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