pub enum SocketError {
InternalChannelFull,
Closed,
}
Expand description
Error type when using the underlying engine.io socket
Variants§
InternalChannelFull
The socket channel is full.
You might need to increase the channel size with the SocketIoBuilder::max_buffer_size
method.
Closed
The socket is already closed
Trait Implementations§
Source§impl Clone for SocketError
impl Clone for SocketError
Source§fn clone(&self) -> SocketError
fn clone(&self) -> SocketError
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 SocketError
impl Debug for SocketError
Source§impl<'de> Deserialize<'de> for SocketError
impl<'de> Deserialize<'de> for SocketError
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for SocketError
impl Display for SocketError
Source§impl Error for SocketError
impl Error for SocketError
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()
Auto Trait Implementations§
impl Freeze for SocketError
impl RefUnwindSafe for SocketError
impl Send for SocketError
impl Sync for SocketError
impl Unpin for SocketError
impl UnwindSafe for SocketError
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