[−][src]Enum routerify_websocket::WebsocketError
A set of errors that can occur during handling the websocket connections and in other operations.
Variants
Websocket upgrade error.
Failed to receive a message from the websocket connection.
Failed to check websocket's ready status to send messages.
Failed to send a message to the websocket connection.
Failed to flush messages to the websocket connection.
Failed to decode message data as text.
Failed to decode the message data as JSON
in message.decode_json()
method.
Failed to convert a struct to JSON
in message.json()
method.
Failed to close the websocket connection.
Trait Implementations
impl Debug for WebsocketError
[src]
impl Display for WebsocketError
[src]
impl Eq for WebsocketError
[src]
impl Error for WebsocketError
[src]
fn source(&self) -> Option<&(dyn Error + 'static)>
1.30.0[src]
fn backtrace(&self) -> Option<&Backtrace>
[src]
fn description(&self) -> &str
1.0.0[src]
fn cause(&self) -> Option<&dyn Error>
1.0.0[src]
impl PartialEq<WebsocketError> for WebsocketError
[src]
Auto Trait Implementations
impl !RefUnwindSafe for WebsocketError
impl Send for WebsocketError
impl Sync for WebsocketError
impl Unpin for WebsocketError
impl !UnwindSafe for WebsocketError
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
fn equivalent(&self, key: &K) -> bool
[src]
impl<E> ErrorExt for E where
E: 'static + Error + Send + Sync,
[src]
E: 'static + Error + Send + Sync,
fn wrap(self) -> Error
[src]
fn context<C>(self, ctx: C) -> Error where
C: 'static + Send + Sync + Display,
[src]
C: 'static + Send + Sync + Display,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,