Function rustpostal::expand::expand_address_with_options[][src]

pub fn expand_address_with_options<'a, 'b, T>(
    address: &'a str,
    languages: Option<T>
) -> Result<NormalizedAddress, NulError> where
    'a: 'b,
    T: Iterator<Item = &'b &'a str>, 
Expand description

Normalize address with optional user-defined languages.

Errors

The method will return an error if the supplied address contains an internal null byte. The error is represented by NulError.