//! Wrapper around the `EventSource` API
//!
//! This API is provided in the following flavors:
//! - [Futures API][futures]
use fmt;
/// The state of the EventSource.
///
/// See [`EventSource.readyState` on MDN](https://developer.mozilla.org/en-US/docs/Web/API/EventSource/readyState)
/// to learn more.
/// Error returned by the EventSource