pub enum IndodaxError {
Http(Error),
WebSocket(Error),
Json(Error),
Api {
category: ErrorCategory,
message: String,
code: Option<String>,
retryable: bool,
},
Config(String),
Parse(String),
WsToken(String),
Other(String),
}Variants§
Http(Error)
WebSocket(Error)
Json(Error)
Api
Config(String)
Parse(String)
WsToken(String)
Other(String)
Implementations§
Trait Implementations§
Source§impl Debug for IndodaxError
impl Debug for IndodaxError
Source§impl Display for IndodaxError
impl Display for IndodaxError
Source§impl Error for IndodaxError
impl Error for IndodaxError
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()
Source§impl From<Error> for IndodaxError
impl From<Error> for IndodaxError
Source§impl From<Error> for IndodaxError
impl From<Error> for IndodaxError
Auto Trait Implementations§
impl !Freeze for IndodaxError
impl !RefUnwindSafe for IndodaxError
impl Send for IndodaxError
impl Sync for IndodaxError
impl Unpin for IndodaxError
impl UnsafeUnpin for IndodaxError
impl !UnwindSafe for IndodaxError
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