Struct gloo_net::eventsource::futures::EventSourceSubscription
source · pub struct EventSourceSubscription { /* private fields */ }
Available on crate feature
eventsource
only.Expand description
Wrapper around browser’s EventSource API.
Trait Implementations§
source§impl Debug for EventSourceSubscription
impl Debug for EventSourceSubscription
source§impl Drop for EventSourceSubscription
impl Drop for EventSourceSubscription
source§impl Stream for EventSourceSubscription
impl Stream for EventSourceSubscription
§type Item = Result<(String, MessageEvent), EventSourceError>
type Item = Result<(String, MessageEvent), EventSourceError>
Values yielded by the stream.