pub enum MarketPriceError {
NonFinite,
Negative,
}Expand description
Errors returned while constructing market price values.
Variants§
Trait Implementations§
Source§impl Clone for MarketPriceError
impl Clone for MarketPriceError
Source§fn clone(&self) -> MarketPriceError
fn clone(&self) -> MarketPriceError
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MarketPriceError
impl Debug for MarketPriceError
Source§impl Display for MarketPriceError
impl Display for MarketPriceError
Source§impl Error for MarketPriceError
impl Error for MarketPriceError
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()
Source§impl PartialEq for MarketPriceError
impl PartialEq for MarketPriceError
impl Copy for MarketPriceError
impl Eq for MarketPriceError
impl StructuralPartialEq for MarketPriceError
Auto Trait Implementations§
impl Freeze for MarketPriceError
impl RefUnwindSafe for MarketPriceError
impl Send for MarketPriceError
impl Sync for MarketPriceError
impl Unpin for MarketPriceError
impl UnsafeUnpin for MarketPriceError
impl UnwindSafe for MarketPriceError
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