Enum rust_fixed_point_decimal_core::ParseDecimalError [−][src]
pub enum ParseDecimalError {
Empty,
Invalid,
PrecLimitExceeded,
MaxValueExceeded,
}
Expand description
An error which can be returned when parsing a decimal literal.
This error is used as the error type for the FromStr
implementation of
Decimal<P>
.
Variants
An empty string has been given as literal.
The given string is not a valid decimal literal.
The given decimal literal has more fractional digits than specified by
the type parameter P
.
The given decimal literal would exceed the maximum value representable by the type.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ParseDecimalError
impl Send for ParseDecimalError
impl Sync for ParseDecimalError
impl Unpin for ParseDecimalError
impl UnwindSafe for ParseDecimalError
Blanket Implementations
Mutably borrows from an owned value. Read more