Module vector_core::event::array  
source · Expand description
This module contains the definitions and wrapper types for handling
arrays of type Event, in the various forms they may appear.
Structs§
- Intermediate buffer for conversion of a sequence of individualEvents into a sequence ofEventArrays by coalescing contiguous events of the same type into one array. This is used byevents_into_array.
- Iterator type implementinginto_arrays
Enums§
- An array of one of theEventvariants exclusively.
- The iterator type forEventArray::into_events.
- The iterator type forEventArray::iter_events.
- The iterator type forEventArray::iter_events_mut.
Traits§
- The core trait to abstract over any type that may work as an array of events. This is effectively the same as the standardIntoIterator<Item = Event>implementations, but that would conflict with the base implementation for the type aliases below.
Functions§
- Convert the iterator over individualEvents into an iterator over coalescedEventArrays.
- Turn a container into a futures stream over the containedEventtype. This would ideally be implemented as a default method ontrait EventContainer, but the required feature (associated type defaults) is still unstable. See https://github.com/rust-lang/rust/issues/29661
Type Aliases§
- The type alias for an array ofLogEventelements.
- The type alias for an array ofMetricelements.
- The type alias for an array ofTraceEventelements.