pub enum MarketError {
Mars(MarsError),
InvalidLiquidationThreshold {
liquidation_threshold: Decimal,
max_loan_to_value: Decimal,
},
}
Variants§
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
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<MarsError> for MarketError
impl From<MarsError> for MarketError
Source§impl PartialEq for MarketError
impl PartialEq for MarketError
impl StructuralPartialEq for MarketError
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