pub enum ErrorKind {
Io(Error),
Int(ParseIntError),
Float(ParseFloatError),
Parser(String),
ReadRecord(String),
}Expand description
Specific errors that can happen.
Variants§
Io(Error)
I/O error.
Int(ParseIntError)
Could not convert a field into an integer.
Float(ParseFloatError)
Could not convert a field into a float.
Parser(String)
Error during parsing.
ReadRecord(String)
Error whilst reading a record.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for ErrorKind
impl Send for ErrorKind
impl Sync for ErrorKind
impl Unpin for ErrorKind
impl !UnwindSafe for ErrorKind
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more