pub enum RealtimeError {
InvalidChannel(String),
SubscriptionLimit(usize),
ClientNotFound(String),
SendFailed(String),
Serialization(Error),
ChannelClosed,
}Expand description
Errors that can occur in real-time operations.
Variants§
InvalidChannel(String)
Invalid channel format.
SubscriptionLimit(usize)
Subscription limit exceeded.
ClientNotFound(String)
Client not found.
SendFailed(String)
Send failed.
Serialization(Error)
Serialization error.
ChannelClosed
Channel closed.
Trait Implementations§
Source§impl Debug for RealtimeError
impl Debug for RealtimeError
Source§impl Display for RealtimeError
impl Display for RealtimeError
Source§impl Error for RealtimeError
impl Error for RealtimeError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns 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()
Auto Trait Implementations§
impl Freeze for RealtimeError
impl !RefUnwindSafe for RealtimeError
impl Send for RealtimeError
impl Sync for RealtimeError
impl Unpin for RealtimeError
impl !UnwindSafe for RealtimeError
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