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 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 BinaryOperationError
impl Debug for BinaryOperationError
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
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