Struct eventsource_stream::EventStream
source ·
[−]pub struct EventStream<S> { /* fields omitted */ }
Expand description
A Stream of events
Implementations
Get the last event ID of the stream
Trait Implementations
type Item = Result<Event, EventStreamError<E>>
type Item = Result<Event, EventStreamError<E>>
Values yielded by the stream.
Attempt to pull out the next value of this stream, registering the
current task for wakeup if the value is not yet available, and returning
None
if the stream is exhausted. Read more