pub enum ExcelError {
ReadError(String),
WriteError(String),
SheetNotFound {
sheet: String,
available: String,
},
WriteRowError {
row: u32,
sheet: String,
source: Box<ExcelError>,
},
InvalidCell(String),
IoError(Error),
CaliamineError(String),
InvalidFormat(String),
NotSupported(String),
InvalidState(String),
FileNotFound(String),
ZipError(String),
}Expand description
Main error type for all Excel operations
Variants§
ReadError(String)
Error occurred while reading Excel file
WriteError(String)
Error occurred while writing Excel file
SheetNotFound
Invalid sheet name or sheet not found
WriteRowError
Error occurred while writing a row
InvalidCell(String)
Invalid cell reference
IoError(Error)
IO error wrapper
CaliamineError(String)
Calamine error wrapper
InvalidFormat(String)
Invalid format
NotSupported(String)
Feature not supported
InvalidState(String)
Invalid state or operation
FileNotFound(String)
File not found
ZipError(String)
ZIP error
Trait Implementations§
Source§impl Debug for ExcelError
impl Debug for ExcelError
Source§impl Display for ExcelError
impl Display for ExcelError
Source§impl Error for ExcelError
impl Error for ExcelError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl From<Error> for ExcelError
impl From<Error> for ExcelError
Auto Trait Implementations§
impl Freeze for ExcelError
impl !RefUnwindSafe for ExcelError
impl Send for ExcelError
impl Sync for ExcelError
impl Unpin for ExcelError
impl !UnwindSafe for ExcelError
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