pub enum InstrumentMetaError {
NonPositiveTickSize,
NonFiniteTickSize,
ExcessivePricePrecision,
EmptySymbol,
EmptyTimezone,
}Expand description
Reason why InstrumentMeta fails the operative validity contract.
Variants§
Trait Implementations§
Source§impl Clone for InstrumentMetaError
impl Clone for InstrumentMetaError
Source§fn clone(&self) -> InstrumentMetaError
fn clone(&self) -> InstrumentMetaError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for InstrumentMetaError
Source§impl Debug for InstrumentMetaError
impl Debug for InstrumentMetaError
Source§impl Display for InstrumentMetaError
impl Display for InstrumentMetaError
impl Eq for InstrumentMetaError
Source§impl Error for InstrumentMetaError
impl Error for InstrumentMetaError
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 InstrumentMetaError
impl PartialEq for InstrumentMetaError
impl StructuralPartialEq for InstrumentMetaError
Auto Trait Implementations§
impl Freeze for InstrumentMetaError
impl RefUnwindSafe for InstrumentMetaError
impl Send for InstrumentMetaError
impl Sync for InstrumentMetaError
impl Unpin for InstrumentMetaError
impl UnsafeUnpin for InstrumentMetaError
impl UnwindSafe for InstrumentMetaError
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