Struct opentelemetry::sdk::trace::EvictedHashMap [−][src]
pub struct EvictedHashMap { /* fields omitted */ }
This is supported on crate feature
trace
only.Expand description
A hash map with a capped number of attributes that retains the most recently set entries.
Implementations
Create a new EvictedHashMap
with a given max length and capacity.
Returns the dropped attribute count
Trait Implementations
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
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
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
Mutably borrows from an owned value. Read more