Enum BernoulliError
pub enum BernoulliError
Error type returned from Bernoulli::new.
Variants
-
InvalidProbability p < 0orp > 1.
Trait Implementations
impl Clone for BernoulliError
fn clone(&self) -> Self
impl Copy for BernoulliError
impl Debug for BernoulliError
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl Display for BernoulliError
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl Eq for BernoulliError
impl Error for BernoulliError
impl PartialEq for BernoulliError
fn eq(&self, other: &Self) -> bool