Enum gloo_net::eventsource::EventSourceError
source · #[non_exhaustive]pub enum EventSourceError {
ConnectionError,
}
Available on crate feature
eventsource
only.Expand description
Error returned by the EventSource
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
ConnectionError
The error
event
Trait Implementations§
source§impl Clone for EventSourceError
impl Clone for EventSourceError
source§fn clone(&self) -> EventSourceError
fn clone(&self) -> EventSourceError
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for EventSourceError
impl Debug for EventSourceError
source§impl Display for EventSourceError
impl Display for EventSourceError
source§impl PartialEq for EventSourceError
impl PartialEq for EventSourceError
source§fn eq(&self, other: &EventSourceError) -> bool
fn eq(&self, other: &EventSourceError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for EventSourceError
impl StructuralEq for EventSourceError
impl StructuralPartialEq for EventSourceError
Auto Trait Implementations§
impl RefUnwindSafe for EventSourceError
impl Send for EventSourceError
impl Sync for EventSourceError
impl Unpin for EventSourceError
impl UnwindSafe for EventSourceError
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