pub enum TickError {
EmptyTimestamp,
NonFiniteSize,
NegativeSize,
CrossedQuote,
}Expand description
Errors returned by tick construction.
Variants§
EmptyTimestamp
Timestamp labels must be non-empty after trimming whitespace.
NonFiniteSize
Size values must be finite.
NegativeSize
Size values must not be negative.
CrossedQuote
Quote ask must be greater than or equal to bid.
Trait Implementations§
impl Copy for TickError
impl Eq for TickError
Source§impl Error for TickError
impl Error for TickError
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()
impl StructuralPartialEq for TickError
Auto Trait Implementations§
impl Freeze for TickError
impl RefUnwindSafe for TickError
impl Send for TickError
impl Sync for TickError
impl Unpin for TickError
impl UnsafeUnpin for TickError
impl UnwindSafe for TickError
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