pub enum MarketFlowError {
DeserializationError(Error),
IOError(Error),
}Expand description
Something went wrong while reading or parsing market data.
Variants§
DeserializationError(Error)
JSON on a line did not match the expected event shape.
IOError(Error)
The underlying file could not be read (missing path, permissions, etc.).
Trait Implementations§
Source§impl Debug for MarketFlowError
impl Debug for MarketFlowError
Source§impl Display for MarketFlowError
impl Display for MarketFlowError
Source§impl Error for MarketFlowError
impl Error for MarketFlowError
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 MarketFlowError
impl From<Error> for MarketFlowError
Auto Trait Implementations§
impl Freeze for MarketFlowError
impl !RefUnwindSafe for MarketFlowError
impl Send for MarketFlowError
impl Sync for MarketFlowError
impl Unpin for MarketFlowError
impl UnsafeUnpin for MarketFlowError
impl !UnwindSafe for MarketFlowError
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