Enum coinaddress::ValidationError [] [src]

pub enum ValidationError {
    TooShort,
    InvalidEncoding,
    HashMismatch,
    NotBitcoin,
    NotLitecoin,
}

Variants

Given address is too short to be valid

Encoding is not a valid base58

Computed hash does not match the embedded one

This address is not a bitcoin address (testnet or real). May happen when attempting to validate btc address

This address is not a litecoin address. May happen when attempting to validate ltc address

Trait Implementations

impl PartialEq for ValidationError
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Debug for ValidationError
[src]

Formats the value using the given formatter.