pub enum Error {
Show 26 variants
Connection(String),
Send(String),
Receive(String),
Protocol(String),
Serialization(String),
Deserialization(String),
Compression(String),
Decompression(String),
Subscription(String),
Authentication(String),
Authorization(String),
RateLimit(String),
InvalidMessage(String),
InvalidParameter(String),
NotFound(String),
Server(String),
Client(String),
Timeout(String),
ChannelSend,
ChannelReceive,
Io(Error),
Core(String),
Json(Error),
MessagePack(String),
Axum(String),
Other(String),
}Expand description
Errors that can occur during WebSocket operations.
Variants§
Connection(String)
WebSocket connection error
Send(String)
WebSocket send error
Receive(String)
WebSocket receive error
Protocol(String)
Protocol error
Serialization(String)
Serialization error
Deserialization(String)
Deserialization error
Compression(String)
Compression error
Decompression(String)
Decompression error
Subscription(String)
Subscription error
Authentication(String)
Authentication error
Authorization(String)
Authorization error
RateLimit(String)
Rate limit exceeded
InvalidMessage(String)
Invalid message
InvalidParameter(String)
Invalid parameter
NotFound(String)
Resource not found
Server(String)
Server error
Client(String)
Client error
Timeout(String)
Timeout error
ChannelSend
Channel send error
ChannelReceive
Channel receive error
Io(Error)
IO error
Core(String)
OxiGDAL core error
Json(Error)
JSON error
MessagePack(String)
MessagePack error
Axum(String)
Axum error
Other(String)
Other error
Trait Implementations§
Source§impl Error for Error
impl Error for Error
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 Error
impl !RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl UnsafeUnpin for Error
impl !UnwindSafe for Error
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