Enum exc_core::ParseSymbolError
source · pub enum ParseSymbolError {
InvalidSpotFormat,
InvalidPrefix,
Asset(ParseAssetError),
}
Expand description
Parse symbol error.
Variants§
InvalidSpotFormat
Invalid spot format.
InvalidPrefix
Invalid prefix.
Asset(ParseAssetError)
Asset errors.
Trait Implementations§
source§impl Debug for ParseSymbolError
impl Debug for ParseSymbolError
source§impl Display for ParseSymbolError
impl Display for ParseSymbolError
source§impl Error for ParseSymbolError
impl Error for ParseSymbolError
1.30.0 · 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()
source§impl From<ParseAssetError> for ParseSymbolError
impl From<ParseAssetError> for ParseSymbolError
source§fn from(err: ParseAssetError) -> ParseSymbolError
fn from(err: ParseAssetError) -> ParseSymbolError
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for ParseSymbolError
impl Send for ParseSymbolError
impl Sync for ParseSymbolError
impl Unpin for ParseSymbolError
impl UnwindSafe for ParseSymbolError
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