pub enum ErrorKind {
Io(Error),
Int(ParseIntError),
Float(ParseFloatError),
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.
ReadRecord(String)
Error whilst reading a record.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ErrorKind
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