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.
impl<'pin> Unpin for EventSourceSubscriptionwhere __EventSourceSubscription<'pin>: Unpin,
Auto Trait Implementations§
impl !RefUnwindSafe for EventSourceSubscription
impl !Send for EventSourceSubscription
impl !Sync for EventSourceSubscription
impl !UnwindSafe for EventSourceSubscription
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more