Enum ndarray_histogram::errors::QuantileError
source · pub enum QuantileError {
EmptyInput,
InvalidQuantile(N64),
}
Expand description
An error computing a quantile.
Variants§
Trait Implementations§
source§impl Clone for QuantileError
impl Clone for QuantileError
source§fn clone(&self) -> QuantileError
fn clone(&self) -> QuantileError
Returns a copy 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 QuantileError
impl Debug for QuantileError
source§impl Display for QuantileError
impl Display for QuantileError
source§impl Error for QuantileError
impl Error for QuantileError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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 From<EmptyInput> for QuantileError
impl From<EmptyInput> for QuantileError
source§fn from(_: EmptyInput) -> QuantileError
fn from(_: EmptyInput) -> QuantileError
Converts to this type from the input type.
source§impl PartialEq<QuantileError> for QuantileError
impl PartialEq<QuantileError> for QuantileError
source§fn eq(&self, other: &QuantileError) -> bool
fn eq(&self, other: &QuantileError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.