Function vector_core::event::array::into_event_stream
source ยท pub fn into_event_stream(
container: impl EventContainer,
) -> impl Stream<Item = Event> + Unpin
Expand description
Turn a container into a futures stream over the contained Event
type. This would ideally be implemented as a default method on
trait EventContainer
, but the required feature (associated type
defaults) is still unstable.
See https://github.com/rust-lang/rust/issues/29661