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 individual
Event
s into a sequence ofEventArray
s by coalescing contiguous events of the same type into one array. This is used byevents_into_array
. - Iterator type implementing
into_arrays
Enums§
- An array of one of the
Event
variants exclusively. - The iterator type for
EventArray::into_events
. - The iterator type for
EventArray::iter_events
. - The iterator type for
EventArray::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 standard
IntoIterator<Item = Event>
implementations, but that would conflict with the base implementation for the type aliases below.
Functions§
- Convert the iterator over individual
Event
s into an iterator over coalescedEventArray
s. - Turn a container into a futures stream over the contained
Event
type. 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 of
LogEvent
elements. - The type alias for an array of
Metric
elements. - The type alias for an array of
TraceEvent
elements.