Enum Error
pub enum Error
Error type returned from Uniform::new and new_inclusive.
Variants
-
EmptyRange low > high, or equal in case of exclusive range.-
NonFinite Input or range
high - lowis non-finite. Not relevant to integer types.
Trait Implementations
impl Clone for Error
fn clone(&self) -> Self
impl Copy for Error
impl Debug for Error
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl Display for Error
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl Eq for Error
impl Error for Error
impl PartialEq for Error
fn eq(&self, other: &Self) -> bool