pub enum MarketError {
NotACollateralToken,
ExceedMaxMarketConfigFactor,
}Expand description
Market error.
Variants§
NotACollateralToken
Not a collateral token.
ExceedMaxMarketConfigFactor
Market config key is out of the allowed range of factors.
Trait Implementations§
Source§impl Debug for MarketError
impl Debug for MarketError
Source§impl Display for MarketError
impl Display for MarketError
Source§impl Error for MarketError
impl Error for MarketError
1.30.0 · 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()
Auto Trait Implementations§
impl Freeze for MarketError
impl RefUnwindSafe for MarketError
impl Send for MarketError
impl Sync for MarketError
impl Unpin for MarketError
impl UnwindSafe for MarketError
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