Struct RangeError
pub struct RangeError { /* private fields */ }
An error type that combines BoundsError with other custom error variants.
For example, a range error on the days of the month when constructing a date would ideally include the corresponding year and month. Otherwise the error message is likely to be much less useful than it could be.
Trait Implementations
impl Clone for RangeError
fn clone(&self) -> Self
impl Copy for RangeError
impl Debug for RangeError
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl Display for RangeError
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl Eq for RangeError
impl Error for RangeError
impl From<BoundsError> for RangeError
fn from(err: BoundsError) -> RangeError
impl PartialEq for RangeError
fn eq(&self, other: &Self) -> bool