#[non_exhaustive]pub enum BoxplotError {
LengthMismatch,
EmptySeries,
EmptyAppend,
InvalidXLimits,
InvalidNumericValue {
value: String,
},
}Expand description
Errors returned by boxplot construction and mutation.
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.
LengthMismatch
Labels and series counts do not match.
EmptySeries
No series provided, or a series contains no valid data.
EmptyAppend
Attempted to append an empty data set.
InvalidXLimits
Explicit x limits are non-finite or inverted.
InvalidNumericValue
A data value could not be parsed as a finite number.
Trait Implementations§
Source§impl Debug for BoxplotError
impl Debug for BoxplotError
Source§impl Display for BoxplotError
impl Display for BoxplotError
Source§impl Error for BoxplotError
impl Error for BoxplotError
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 BoxplotError
impl PartialEq for BoxplotError
impl StructuralPartialEq for BoxplotError
Auto Trait Implementations§
impl Freeze for BoxplotError
impl RefUnwindSafe for BoxplotError
impl Send for BoxplotError
impl Sync for BoxplotError
impl Unpin for BoxplotError
impl UnsafeUnpin for BoxplotError
impl UnwindSafe for BoxplotError
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