#[non_exhaustive]pub enum SeriesError {
NoSuchColumn(String),
NotNumeric(String),
}Expand description
Why a series could not be made.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
NoSuchColumn(String)
The table has no column of this name.
NotNumeric(String)
The column of this name holds values that are not numbers, times or dates.
Trait Implementations§
Source§impl Clone for SeriesError
impl Clone for SeriesError
Source§impl Debug for SeriesError
impl Debug for SeriesError
Source§impl Display for SeriesError
impl Display for SeriesError
impl Eq for SeriesError
Source§impl Error for SeriesError
impl Error for SeriesError
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 SeriesError
impl PartialEq for SeriesError
impl StructuralPartialEq for SeriesError
Auto Trait Implementations§
impl Freeze for SeriesError
impl RefUnwindSafe for SeriesError
impl Send for SeriesError
impl Sync for SeriesError
impl Unpin for SeriesError
impl UnsafeUnpin for SeriesError
impl UnwindSafe for SeriesError
Blanket Implementations§
impl<T> Allocation for T
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