[][src]Struct metar::MetarError

pub struct MetarError<'a> {
    pub string: &'a str,
    pub start: usize,
    pub length: usize,
    pub parser_state: ParseState,
    pub error: ParserError,

An error when parsing a METAR


string: &'a str

The string being parsed

start: usize

The start index of the error

length: usize

The length of the error'd section

parser_state: ParseState

The current parser state (what it was expecting to read)

error: ParserError

The error from the internal parser

Trait Implementations

impl<'a> Clone for MetarError<'a>[src]

impl<'a> Eq for MetarError<'a>[src]

impl<'a> PartialEq<MetarError<'a>> for MetarError<'a>[src]

impl<'a> Display for MetarError<'a>[src]

impl<'a> Debug for MetarError<'a>[src]

impl<'a> StructuralPartialEq for MetarError<'a>[src]

impl<'a> StructuralEq for MetarError<'a>[src]

Auto Trait Implementations

impl<'a> Send for MetarError<'a>

impl<'a> Sync for MetarError<'a>

impl<'a> Unpin for MetarError<'a>

impl<'a> UnwindSafe for MetarError<'a>

impl<'a> RefUnwindSafe for MetarError<'a>

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 

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

impl<T> ToOwned for T where
    T: Clone

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

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

impl<T> BorrowMut<T> for T where
    T: ?Sized

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