Enum reqwasm::websocket::WebSocketError [−][src]
pub enum WebSocketError {
ConnectionError {
message: String,
},
JsError(JsError),
}Error from a WebSocket
Variants
This is created from ErrorEvent received from onerror listener of the WebSocket.
Show fields
Fields of ConnectionError
message: StringThe error message.
Error from JavaScript
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for WebSocketError
impl RefUnwindSafe for WebSocketErrorimpl Send for WebSocketError
impl Send for WebSocketErrorimpl Sync for WebSocketError
impl Sync for WebSocketErrorimpl Unpin for WebSocketError
impl Unpin for WebSocketErrorimpl UnwindSafe for WebSocketError
impl UnwindSafe for WebSocketError