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]
fn clone(&self) -> ParseIbanError
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Eq for ParseIbanError
[src]
impl PartialEq for ParseIbanError
[src]
fn eq(&self, __arg_0: &ParseIbanError) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &ParseIbanError) -> bool
This method tests for !=
.
impl Hash for ParseIbanError
[src]
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more