pub enum MarketDataError {
Network(String),
Auth(String),
RateLimit,
SymbolNotFound(String),
ProviderUnavailable(String),
Parse(String),
WebSocket(String),
Timeout,
InvalidConfig(String),
Io(Error),
Json(Error),
Http(Error),
}Variants§
Network(String)
Auth(String)
RateLimit
SymbolNotFound(String)
Parse(String)
WebSocket(String)
Timeout
InvalidConfig(String)
Io(Error)
Json(Error)
Http(Error)
Trait Implementations§
Source§impl Debug for MarketDataError
impl Debug for MarketDataError
Source§impl Display for MarketDataError
impl Display for MarketDataError
Source§impl Error for MarketDataError
impl Error for MarketDataError
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 MarketDataError
impl From<Error> for MarketDataError
Source§impl From<Error> for MarketDataError
impl From<Error> for MarketDataError
Auto Trait Implementations§
impl Freeze for MarketDataError
impl !RefUnwindSafe for MarketDataError
impl Send for MarketDataError
impl Sync for MarketDataError
impl Unpin for MarketDataError
impl !UnwindSafe for MarketDataError
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