Struct chrono_utils::parser::error::ParseError [] [src]

pub struct ParseError {
    pub error_kind: ParseErrorKind,
    pub position_begin: usize,
    pub position_end: usize,
}

An error from the parse_* functions.

Fields

Kind of parse error.

Start of error position.

End of error position.

Methods

impl ParseError
[src]

[src]

Returns error.

[src]

Returns error due the invalid format.

[src]

Returns error due the invalid token.

[src]

Returns error due the value is too low.

[src]

Returns error due the value is too high.

Trait Implementations

impl Copy for ParseError
[src]

impl Clone for ParseError
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq for ParseError
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl Eq for ParseError
[src]

impl Debug for ParseError
[src]

[src]

Formats the value using the given formatter.

impl Error for ParseError
[src]

[src]

A short description of the error. Read more

1.0.0
[src]

The lower-level cause of this error, if any. Read more

impl Display for ParseError
[src]

[src]

Formats the value using the given formatter. Read more