[][src]Enum pineappl::bin::MergeBinError

pub enum MergeBinError {
    NonConsecutiveBins {
        lhs: f64,
        rhs: f64,
    },
}

Error type which is returned when two BinLimits objects are merged which are not connected/non-consecutive.

Variants

NonConsecutiveBins

Returned when two BinLimits objects a and b were tried to be merged using a.merge(b), but when the right-most limit of a does not match the left-most limit of b.

Fields of NonConsecutiveBins

lhs: f64

right-most limit of the BinLimits object that is being merged into.

rhs: f64

left-most limit of the BinLimits object that is being merged.

Trait Implementations

impl Debug for MergeBinError[src]

impl Display for MergeBinError[src]

impl Error for MergeBinError[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.