Struct opentelemetry::sdk::trace::EvictedQueue [−][src]
pub struct EvictedQueue<T> { /* fields omitted */ }
This is supported on crate feature
trace
only.Expand description
This queue maintains an ordered list of elements, and a count of dropped elements. Elements are removed from the queue in a first in first out fashion.
Implementations
Moves all the elements of other into self, leaving other empty.
Count of dropped attributes
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]Deserialize this value from the given Serde deserializer. Read more
Extends a collection with the contents of an iterator. Read more
🔬 This is a nightly-only experimental API. (
extend_one
)Extends a collection with exactly one element.
🔬 This is a nightly-only experimental API. (
extend_one
)Reserves capacity in a collection for the given number of additional elements. 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<T> RefUnwindSafe for EvictedQueue<T> where
T: RefUnwindSafe,
impl<T> Send for EvictedQueue<T> where
T: Send,
impl<T> Sync for EvictedQueue<T> where
T: Sync,
impl<T> Unpin for EvictedQueue<T> where
T: Unpin,
impl<T> UnwindSafe for EvictedQueue<T> where
T: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V