Enum rand_distr::PertError
source · [−]pub enum PertError {
RangeTooSmall,
ModeRange,
ShapeTooSmall,
}
Expand description
Error type returned from Pert
constructors.
Variants
RangeTooSmall
max < min
or min
or max
is NaN.
ModeRange
mode < min
or mode > max
or mode
is NaN.
ShapeTooSmall
shape < 0
or shape
is NaN
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for PertError
impl UnwindSafe for PertError
Blanket Implementations
Mutably borrows from an owned value. Read more