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
impl Debug for ParseTspError
[src]
impl Debug for ParseTspError
[src]impl Display for ParseTspError
[src]
impl Display for ParseTspError
[src]Auto Trait Implementations
impl !RefUnwindSafe for ParseTspError
impl Send for ParseTspError
impl Sync for ParseTspError
impl Unpin for ParseTspError
impl !UnwindSafe for ParseTspError
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more