Enum bitcoin::util::amount::ParseAmountError [−][src]
pub enum ParseAmountError {
Negative,
TooBig,
TooPrecise,
InvalidFormat,
InputTooLarge,
InvalidCharacter(char),
UnknownDenomination(String),
}
Expand description
An error during amount parsing.
Variants
Amount is negative.
Amount is too big to fit inside the type.
Amount has higher precision than supported by the type.
Invalid number format.
Input string was too large.
InvalidCharacter(char)
Invalid character in input.
Tuple Fields of InvalidCharacter
0: char
UnknownDenomination(String)
The denomination was unknown.
Tuple Fields of UnknownDenomination
0: String
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for ParseAmountError
impl Send for ParseAmountError
impl Sync for ParseAmountError
impl Unpin for ParseAmountError
impl UnwindSafe for ParseAmountError
Blanket Implementations
Mutably borrows from an owned value. Read more