Enum flowmium::requests::ClientWebsocketError
source · pub enum ClientWebsocketError {
Websocket(Error),
MalformedEvent(Error),
Lag(u64),
}
Expand description
An error while receiving events from websocket.
Variants§
Websocket(Error)
Unable to make a websocket connection or websocket connection closed unexpectedly.
MalformedEvent(Error)
Invalid or malformed event from server.
Lag(u64)
Client or server is unable to keep up and some events might have been missed.
Trait Implementations§
source§impl Debug for ClientWebsocketError
impl Debug for ClientWebsocketError
source§impl Display for ClientWebsocketError
impl Display for ClientWebsocketError
source§impl Error for ClientWebsocketError
impl Error for ClientWebsocketError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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 !RefUnwindSafe for ClientWebsocketError
impl Send for ClientWebsocketError
impl Sync for ClientWebsocketError
impl Unpin for ClientWebsocketError
impl !UnwindSafe for ClientWebsocketError
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