pub enum RecipErrors<ValueType: Sized> {
NanInput {
backtrace: Backtrace,
},
NanOutput {
backtrace: Backtrace,
},
DivisionByZero {
backtrace: Backtrace,
},
Underflow {
value: ValueType,
backtrace: Backtrace,
},
Overflow {
backtrace: Backtrace,
},
}Variants§
NanInput
The input value is NaN.
NanOutput
The output value is NaN.
DivisionByZero
The input value is zero.
Underflow
The output value is subnormal.
Overflow
The output value cannot be represented becaus an overflow has occourred.
Trait Implementations§
Source§impl<ValueType> Display for RecipErrors<ValueType>
impl<ValueType> Display for RecipErrors<ValueType>
Source§impl<ValueType: Sized> Error for RecipErrors<ValueType>
impl<ValueType: Sized> Error for RecipErrors<ValueType>
Source§fn provide<'_request>(&'_request self, request: &mut Request<'_request>)
fn provide<'_request>(&'_request self, request: &mut Request<'_request>)
🔬This is a nightly-only experimental API. (
error_generic_member_access)Provides type-based access to context intended for error reports. Read more
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()
Auto Trait Implementations§
impl<ValueType> !Freeze for RecipErrors<ValueType>
impl<ValueType> RefUnwindSafe for RecipErrors<ValueType>where
ValueType: RefUnwindSafe,
impl<ValueType> Send for RecipErrors<ValueType>where
ValueType: Send,
impl<ValueType> Sync for RecipErrors<ValueType>where
ValueType: Sync,
impl<ValueType> Unpin for RecipErrors<ValueType>where
ValueType: Unpin,
impl<ValueType> UnsafeUnpin for RecipErrors<ValueType>where
ValueType: UnsafeUnpin,
impl<ValueType> UnwindSafe for RecipErrors<ValueType>where
ValueType: UnwindSafe,
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