Enum pls::ParseError [] [src]

pub enum ParseError {
    InvalidVersion(u64),
    MissingPlaylistSection,
    MissingKey(String),
    InvalidInteger(ParseIntError),
    Ini(Error),
}
[]

All ways parsing can fail

Variants

[]

Specified version was not 2

[]

The whole [playlist] section's missing

[]

Some required key is missing

[]

An integer was not actually an integer

[]

Other .ini parsing errors

Trait Implementations

impl Debug for ParseError
[src]

[]

Formats the value using the given formatter.

impl From<Error> for ParseError
[src]

[]

Performs the conversion.

impl From<ParseIntError> for ParseError
[src]

[]

Performs the conversion.

impl ErrorT for ParseError
[src]

[]

A short description of the error. Read more

[]

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

impl Display for ParseError
[src]

[]

Formats the value using the given formatter.

impl Clone for ParseError
[src]

[]

Returns a copy of the value. Read more

[]

Performs copy-assignment from source. Read more

impl PartialEq for ParseError
[src]

[]

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

[]

This method tests for !=.