Trait eventstore::ToEvents

source ·
pub trait ToEvents: Sealed {
    type Events: Iterator<Item = EventData> + Send + 'static;

    // Required method
    fn into_events(self) -> Self::Events;
}

Required Associated Types§

source

type Events: Iterator<Item = EventData> + Send + 'static

Required Methods§

source

fn into_events(self) -> Self::Events

Implementations on Foreign Types§

source§

impl ToEvents for Vec<EventData>

Implementors§

source§

impl ToEvents for EventData

source§

impl<I> ToEvents for Streaming<I>
where I: Iterator<Item = EventData> + Send + 'static,

§

type Events = I