Struct iban::ParseIbanError [] [src]

pub struct ParseIbanError { /* fields omitted */ }

The result after using parse() or from_str() on an invalid IBAN. It indicates that the string does not follow the IBAN specification.

Examples

use iban::Iban;
use iban::ParseIbanError;

// Too short
assert!(match "AA32".parse::<Iban>() {
    Err(ParseIbanError{..}) => true,
    _ => false
});

Trait Implementations

impl Copy for ParseIbanError
[src]

impl Clone for ParseIbanError
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Eq for ParseIbanError
[src]

impl PartialEq for ParseIbanError
[src]

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

This method tests for !=.

impl Hash for ParseIbanError
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl Debug for ParseIbanError
[src]

Formats the value using the given formatter.

impl Display for ParseIbanError
[src]

Formats the value using the given formatter. Read more

impl Error for ParseIbanError
[src]

A short description of the error. Read more

The lower-level cause of this error, if any. Read more