[][src]Enum metar::MetarError

pub enum MetarError {
    TimeParseError(ParseIntError),
    WindDirectionError(ParseIntError),
    WindSpeedError(ParseIntError),
    WindGustError(ParseIntError),
    WindVaryingError(ParseIntError),
    VisibilityError(ParseIntError),
    CloudFloorError(ParseIntError),
    VerticalVisibilityError(ParseIntError),
    AirPressureError(ParseIntError),
    TemperatureError(ParseIntError),
    DewpointError(ParseIntError),
    InvalidMetarError(String),
}

An error when parsing a METAR

Variants

TimeParseError(ParseIntError)

An error whilst parsing time

WindDirectionError(ParseIntError)

An error parsing wind direction

WindSpeedError(ParseIntError)

An error parsing wind speed

WindGustError(ParseIntError)

An error parsing how the winds are gusting

WindVaryingError(ParseIntError)

An error parsing the wind directional variation

VisibilityError(ParseIntError)

An error parsing the current horizontal visibility

CloudFloorError(ParseIntError)

An error in parsing the cloud layer floor

VerticalVisibilityError(ParseIntError)

An error parsing the vertical visibility

AirPressureError(ParseIntError)

An error parsing the current barometric pressure

TemperatureError(ParseIntError)

An error parsing the current temperature

DewpointError(ParseIntError)

An error parsing the current dewpoint

InvalidMetarError(String)

This METAR doesn't conform to the standard and so cannot be parsed

Trait Implementations

impl Clone for MetarError[src]

impl Eq for MetarError[src]

impl PartialEq<MetarError> for MetarError[src]

impl Debug for MetarError[src]

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]