Enum tspf::ParseTspError [−][src]
pub enum ParseTspError { IoError(Error), MissingEntry(String), InvalidEntry(String), InvalidInput { key: String, val: String, }, Other(&'static str), }
Expand description
An enum for errors that might occur during parsing.
Variants
IoError(Error)
An error due to I/O operations.
MissingEntry(String)
A required entry is missing.
InvalidEntry(String)
A line contains unrecognised keywords.
An entry contains invalid inputs.
Other(&'static str)
Any I/O or parsing errors that are not part of this list.
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for ParseTspError
impl Send for ParseTspError
impl Sync for ParseTspError
impl Unpin for ParseTspError
impl !UnwindSafe for ParseTspError