pub struct BinaryOperationError;
Expand description
Returned if a Histogram binary operation fails (such as h1 + h2). for example because the two histograms have incompatible binning.
Trait Implementations§
Source§impl Clone for BinaryOperationError
impl Clone for BinaryOperationError
Source§fn clone(&self) -> BinaryOperationError
fn clone(&self) -> BinaryOperationError
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 BinaryOperationError
impl Debug for BinaryOperationError
Source§impl<'de> Deserialize<'de> for BinaryOperationError
impl<'de> Deserialize<'de> for BinaryOperationError
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for BinaryOperationError
impl Display for BinaryOperationError
Source§impl Error for BinaryOperationError
impl Error for BinaryOperationError
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 From<BinaryOperationError> for Error
impl From<BinaryOperationError> for Error
Source§fn from(source: BinaryOperationError) -> Self
fn from(source: BinaryOperationError) -> Self
Converts to this type from the input type.
Source§impl Hash for BinaryOperationError
impl Hash for BinaryOperationError
Source§impl Ord for BinaryOperationError
impl Ord for BinaryOperationError
Source§fn cmp(&self, other: &BinaryOperationError) -> Ordering
fn cmp(&self, other: &BinaryOperationError) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for BinaryOperationError
impl PartialEq for BinaryOperationError
Source§impl PartialOrd for BinaryOperationError
impl PartialOrd for BinaryOperationError
Source§impl Serialize for BinaryOperationError
impl Serialize for BinaryOperationError
impl Copy for BinaryOperationError
impl Eq for BinaryOperationError
impl StructuralPartialEq for BinaryOperationError
Auto Trait Implementations§
impl Freeze for BinaryOperationError
impl RefUnwindSafe for BinaryOperationError
impl Send for BinaryOperationError
impl Sync for BinaryOperationError
impl Unpin for BinaryOperationError
impl UnwindSafe for BinaryOperationError
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more