pub enum HangingGetServerError {
MultipleObservers,
NoBroker,
RateLimit,
Generic(Error),
}
Expand description
Error types that may be used by the async hanging-get server.
Variants§
MultipleObservers
An existing observer was already present for the client.
NoBroker
The HangingGetBroker associated with this handle has been dropped.
RateLimit
This handle is sending messages faster than the broker can process them.
Generic(Error)
Generic hanging-get server error.
Trait Implementations§
source§impl Debug for HangingGetServerError
impl Debug for HangingGetServerError
source§impl Display for HangingGetServerError
impl Display for HangingGetServerError
source§impl Error for HangingGetServerError
impl Error for HangingGetServerError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl From<Canceled> for HangingGetServerError
impl From<Canceled> for HangingGetServerError
source§impl From<Error> for HangingGetServerError
impl From<Error> for HangingGetServerError
source§impl From<SendError> for HangingGetServerError
impl From<SendError> for HangingGetServerError
Auto Trait Implementations§
impl Freeze for HangingGetServerError
impl RefUnwindSafe for HangingGetServerError
impl Send for HangingGetServerError
impl Sync for HangingGetServerError
impl Unpin for HangingGetServerError
impl UnwindSafe for HangingGetServerError
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