pub enum PopulationValueError {
Negative,
NonFinite,
}Variants§
Trait Implementations§
Source§impl Clone for PopulationValueError
impl Clone for PopulationValueError
Source§fn clone(&self) -> PopulationValueError
fn clone(&self) -> PopulationValueError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PopulationValueError
impl Debug for PopulationValueError
Source§impl Display for PopulationValueError
impl Display for PopulationValueError
Source§impl Error for PopulationValueError
impl Error for PopulationValueError
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 PopulationValueError
impl PartialEq for PopulationValueError
Source§fn eq(&self, other: &PopulationValueError) -> bool
fn eq(&self, other: &PopulationValueError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for PopulationValueError
impl Eq for PopulationValueError
impl StructuralPartialEq for PopulationValueError
Auto Trait Implementations§
impl Freeze for PopulationValueError
impl RefUnwindSafe for PopulationValueError
impl Send for PopulationValueError
impl Sync for PopulationValueError
impl Unpin for PopulationValueError
impl UnsafeUnpin for PopulationValueError
impl UnwindSafe for PopulationValueError
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