Enum coinaddress::ValidationError [] [src]

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

Variants

TooShort

Given address is too short to be valid

InvalidEncoding

Encoding is not a valid base58

HashMismatch

Computed hash does not match the embedded one

NotBitcoin

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

NotLitecoin

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

Trait Implementations

impl Debug for ValidationError
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl PartialEq for ValidationError
[src]

fn eq(&self, __arg_0: &ValidationError) -> bool

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

fn ne(&self, other: &Rhs) -> bool
1.0.0

This method tests for !=.