pub enum CheckedMultiplyFractionError {
DivideByZero(DivideByZeroError),
ConversionOverflow(ConversionOverflowError),
Overflow(OverflowError),
}
Variants§
DivideByZero(DivideByZeroError)
ConversionOverflow(ConversionOverflowError)
Overflow(OverflowError)
Trait Implementations§
source§impl Debug for CheckedMultiplyFractionError
impl Debug for CheckedMultiplyFractionError
source§impl Error for CheckedMultiplyFractionError
impl Error for CheckedMultiplyFractionError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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 From<ConversionOverflowError> for CheckedMultiplyFractionError
impl From<ConversionOverflowError> for CheckedMultiplyFractionError
source§fn from(source: ConversionOverflowError) -> Self
fn from(source: ConversionOverflowError) -> Self
Converts to this type from the input type.
source§impl From<DivideByZeroError> for CheckedMultiplyFractionError
impl From<DivideByZeroError> for CheckedMultiplyFractionError
source§fn from(source: DivideByZeroError) -> Self
fn from(source: DivideByZeroError) -> Self
Converts to this type from the input type.
source§impl From<OverflowError> for CheckedMultiplyFractionError
impl From<OverflowError> for CheckedMultiplyFractionError
source§fn from(source: OverflowError) -> Self
fn from(source: OverflowError) -> Self
Converts to this type from the input type.
source§impl PartialEq<CheckedMultiplyFractionError> for CheckedMultiplyFractionError
impl PartialEq<CheckedMultiplyFractionError> for CheckedMultiplyFractionError
source§fn eq(&self, other: &CheckedMultiplyFractionError) -> bool
fn eq(&self, other: &CheckedMultiplyFractionError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.