Enum resonite::api_client::ApiError
source · pub enum ApiError {
Serde(Error),
Http(Error),
WebSocket(Error),
Other(String),
}Available on crate feature
http_client only.Expand description
An error that may happen with an API query
Variants§
Serde(Error)
An error happened with serialization
Http(Error)
An error happened with the HTTPS request
WebSocket(Error)
Available on crate feature
signalr_client only.An error happened with the WS connection
Other(String)
Available on crate feature
signalr_client only.An error happened with sending SignalR data
Trait Implementations§
source§impl From<Box<dyn Error + Send + Sync>> for ApiError
Available on crate feature signalr_client only.
impl From<Box<dyn Error + Send + Sync>> for ApiError
Available on crate feature
signalr_client only.Auto Trait Implementations§
impl Freeze for ApiError
impl !RefUnwindSafe for ApiError
impl Send for ApiError
impl Sync for ApiError
impl Unpin for ApiError
impl !UnwindSafe for ApiError
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