pub fn nav_from_url<T: AsRef<str>>(url: T) -> Result<NavRecordIterator<reqwest::Response>> {
    let response = reqwest::get(url.as_ref())?;
    if response.status().is_success() {
        Ok(NavRecordIterator::new(response))
    } else {
        Err(Error::HttpError(response.status()))
    }
}
/// Parses NAV data from provided `url`
///
/// Parse NAV data from any mirror site providing same data format.
Parses NAV data from provided `url`
Parse NAV data from any mirror site providing same data format.
Parses NAV data from provided ` url ` Parse NAV data from any mirror site providing same data format .
pub fn nav_from_url<T: AsRef<str>>(url: T) -> Result<NavRecordIterator<reqwest::Response>> {
    let response = reqwest::get(url.as_ref())?;
    if response.status().is_success() {
        Ok(NavRecordIterator::new(response))
    } else {
        Err(Error::HttpError(response.status()))
    }
}
pub fn nav_from_url < T : AsRef < str > > ( url : T ) -> Result < NavRecordIterator < reqwest :: Response > > { let response = reqwest :: get ( url . as_ref ( ) ) ? ; if response . status ( ) . is_success ( ) { Ok ( NavRecordIterator :: new ( response ) ) } else { Err ( Error :: HttpError ( response . status ( ) ) ) } }
Parses NAV data from provided `url`
Parse NAV data from any mirror site providing same data format.
Parses NAV data from provided ` url ` Parse NAV data from any mirror site providing same data format .
url
T
url
T