pub enum InvalidMutationAdjustRateError {
IsNan(f64),
TooLow(f64),
TooHigh(f64),
}Expand description
Error returned when ‘MutationAdjustRate’ is given an invalid value.
Variants§
IsNan(f64)
Value is NaN.
TooLow(f64)
Value is below lower bound.
TooHigh(f64)
Value is above upper bound.
Trait Implementations§
Source§impl Clone for InvalidMutationAdjustRateError
impl Clone for InvalidMutationAdjustRateError
Source§fn clone(&self) -> InvalidMutationAdjustRateError
fn clone(&self) -> InvalidMutationAdjustRateError
Returns a duplicate 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 Error for InvalidMutationAdjustRateError
impl Error for InvalidMutationAdjustRateError
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 PartialEq for InvalidMutationAdjustRateError
impl PartialEq for InvalidMutationAdjustRateError
Source§fn eq(&self, other: &InvalidMutationAdjustRateError) -> bool
fn eq(&self, other: &InvalidMutationAdjustRateError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for InvalidMutationAdjustRateError
impl StructuralPartialEq for InvalidMutationAdjustRateError
Auto Trait Implementations§
impl Freeze for InvalidMutationAdjustRateError
impl RefUnwindSafe for InvalidMutationAdjustRateError
impl Send for InvalidMutationAdjustRateError
impl Sync for InvalidMutationAdjustRateError
impl Unpin for InvalidMutationAdjustRateError
impl UnwindSafe for InvalidMutationAdjustRateError
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