pub enum TryFromFloatCurrenciesError {
Fractional {
fract: f32,
},
OutOfBounds {
value: f32,
},
}Expand description
Error converting float currencies to currencies.
Variants§
Fractional
The keys part of the currencies contained a fractional value.
OutOfBounds
A value overflowed or underflowed the integer bounds.
Trait Implementations§
Source§impl Debug for TryFromFloatCurrenciesError
impl Debug for TryFromFloatCurrenciesError
Source§impl Error for TryFromFloatCurrenciesError
impl Error for TryFromFloatCurrenciesError
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 Freeze for TryFromFloatCurrenciesError
impl RefUnwindSafe for TryFromFloatCurrenciesError
impl Send for TryFromFloatCurrenciesError
impl Sync for TryFromFloatCurrenciesError
impl Unpin for TryFromFloatCurrenciesError
impl UnsafeUnpin for TryFromFloatCurrenciesError
impl UnwindSafe for TryFromFloatCurrenciesError
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