pub enum RealtimeError {
BroadcastError(String),
InvalidChannel(String),
InvalidEvent(String),
PayloadTooLarge {
actual: usize,
maximum: usize,
},
InvalidPresenceIdentity(String),
}Expand description
Strongly-typed error domain for Rullst Realtime and Broadcast operations.
Variants§
BroadcastError(String)
Broadcast transmission failed.
InvalidChannel(String)
A tenant-scoped channel name is empty, oversized, or ambiguous.
InvalidEvent(String)
An event name is empty, oversized, or ambiguous.
PayloadTooLarge
A payload exceeds the bounded in-process realtime envelope.
Fields
InvalidPresenceIdentity(String)
A presence identity is empty, oversized, or ambiguous.
Trait Implementations§
Source§impl Clone for RealtimeError
impl Clone for RealtimeError
Source§impl Debug for RealtimeError
impl Debug for RealtimeError
Source§impl Display for RealtimeError
impl Display for RealtimeError
impl Eq for RealtimeError
Source§impl Error for RealtimeError
impl Error for RealtimeError
1.30.0 · 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()
Source§impl PartialEq for RealtimeError
impl PartialEq for RealtimeError
impl StructuralPartialEq for RealtimeError
Auto Trait Implementations§
impl Freeze for RealtimeError
impl RefUnwindSafe for RealtimeError
impl Send for RealtimeError
impl Sync for RealtimeError
impl Unpin for RealtimeError
impl UnsafeUnpin 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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
impl<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
Source§impl<T> ValidateIp for Twhere
T: ToString,
impl<T> ValidateIp for Twhere
T: ToString,
Source§fn validate_ipv4(&self) -> bool
fn validate_ipv4(&self) -> bool
Validates whether the given string is an IP V4
Source§fn validate_ipv6(&self) -> bool
fn validate_ipv6(&self) -> bool
Validates whether the given string is an IP V6
Source§fn validate_ip(&self) -> bool
fn validate_ip(&self) -> bool
Validates whether the given string is an IP