Enum darwin_rs::population_builder::PopError []

pub enum PopError {
    IndividualsTooLow,
    LimitEndTooLow,
}

Variants

IndividualsTooLow

The number of individuals is too low, should be >= 3

LimitEndTooLow

reset_limit_start must be greater than reset_limit_end

Trait Implementations

impl Display for PopError

fn fmt(&self, fmt: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Error for PopError

fn description(&self) -> &str

A short description of the error. Read more

fn cause(&self) -> Option<&Error>

The lower-level cause of this error, if any.

Derived Implementations

impl Debug for PopError

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.