pub enum ExcelError {
Io(Error),
Zip(ZipError),
TooManySheets,
RowLimitExceeded,
ColumnLimitExceeded,
HeaderAfterRows,
SheetAlreadyExists,
}Variants§
Io(Error)
An IO error occurred while writing to an underlying writer.
Zip(ZipError)
An error occurred zipping the excel file.
TooManySheets
Attempted to create more sheets than the maximum allowed (65535).
RowLimitExceeded
Attempted to write more rows than Excel supports (1048576).
ColumnLimitExceeded
Attempted to write more columns than Excel supports (16384).
HeaderAfterRows
Attempted to write header after already writing rows.
SheetAlreadyExists
Attempted to create a sheet that already exists.
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 UnsafeUnpin 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