Enum digibyte::util::amount::ParseAmountError [−][src]
pub enum ParseAmountError { Negative, TooBig, TooPrecise, InvalidFormat, InputTooLarge, InvalidCharacter(char), UnknownDenomination(String), }
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.
UnknownDenomination(String)
The denomination was unknown.
Trait Implementations
impl Clone for ParseAmountError
[src]
impl Clone for ParseAmountError
[src]fn clone(&self) -> ParseAmountError
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Eq for ParseAmountError
[src]
impl Eq for ParseAmountError
[src]impl Error for ParseAmountError
[src]
impl Error for ParseAmountError
[src]impl PartialEq<ParseAmountError> for ParseAmountError
[src]
impl PartialEq<ParseAmountError> for ParseAmountError
[src]fn eq(&self, other: &ParseAmountError) -> bool
[src]
fn ne(&self, other: &ParseAmountError) -> bool
[src]
impl StructuralEq for ParseAmountError
[src]
impl StructuralEq for ParseAmountError
[src]impl StructuralPartialEq for ParseAmountError
[src]
impl StructuralPartialEq for ParseAmountError
[src]Auto Trait Implementations
impl RefUnwindSafe for ParseAmountError
impl RefUnwindSafe for ParseAmountError
impl Send for ParseAmountError
impl Send for ParseAmountError
impl Sync for ParseAmountError
impl Sync for ParseAmountError
impl Unpin for ParseAmountError
impl Unpin for ParseAmountError
impl UnwindSafe for ParseAmountError
impl UnwindSafe for ParseAmountError