Enum pls::ParseError
[−]
[src]
pub enum ParseError {
InvalidVersion(u64),
MissingPlaylistSection,
MissingKey(String),
InvalidInteger(ParseIntError),
Ini(Error),
}All ways parsing can fail
Variants
InvalidVersion(u64)Specified version was not 2
MissingPlaylistSectionThe whole [playlist] section's missing
MissingKey(String)Some required key is missing
InvalidInteger(ParseIntError)An integer was not actually an integer
Ini(Error)Other .ini parsing errors
Trait Implementations
impl Debug for ParseError[src]
impl From<Error> for ParseError[src]
fn from(e: Error) -> ParseError
Performs the conversion.
impl From<ParseIntError> for ParseError[src]
fn from(e: ParseIntError) -> ParseError
Performs the conversion.
impl ErrorT for ParseError[src]
fn description(&self) -> &str
A short description of the error. Read more
fn cause(&self) -> Option<&ErrorT>
The lower-level cause of this error, if any. Read more
impl Display for ParseError[src]
impl Clone for ParseError[src]
fn clone(&self) -> ParseError
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more