pub enum PriceSeriesError {
EmptyLabel,
Return(ReturnError),
}Expand description
Errors returned by price-series helpers.
Variants§
EmptyLabel
Labels must be non-empty after trimming whitespace.
Return(ReturnError)
A return calculation failed.
Trait Implementations§
Source§impl Clone for PriceSeriesError
impl Clone for PriceSeriesError
Source§fn clone(&self) -> PriceSeriesError
fn clone(&self) -> PriceSeriesError
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 PriceSeriesError
impl Debug for PriceSeriesError
Source§impl Display for PriceSeriesError
impl Display for PriceSeriesError
Source§impl Error for PriceSeriesError
impl Error for PriceSeriesError
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 PriceSeriesError
impl PartialEq for PriceSeriesError
impl Copy for PriceSeriesError
impl Eq for PriceSeriesError
impl StructuralPartialEq for PriceSeriesError
Auto Trait Implementations§
impl Freeze for PriceSeriesError
impl RefUnwindSafe for PriceSeriesError
impl Send for PriceSeriesError
impl Sync for PriceSeriesError
impl Unpin for PriceSeriesError
impl UnsafeUnpin for PriceSeriesError
impl UnwindSafe for PriceSeriesError
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