pub enum Error {
Show 17 variants
SheetNameAlreadyInUse {
name: String,
backtrace: Backtrace,
},
MaxStringLengthExceeded {
maximum: usize,
backtrace: Backtrace,
},
InvalidColumnRangeOrdering {
first: u16,
last: u16,
backtrace: Backtrace,
},
InvalidRowRangeOrdering {
first: u32,
last: u32,
backtrace: Backtrace,
},
XmlWrite {
source: Error,
backtrace: Backtrace,
},
Zip {
source: ZipError,
backtrace: Backtrace,
},
Io {
source: Error,
backtrace: Backtrace,
},
ColNumberOutOfRange {
number: u16,
min: u16,
max: u16,
backtrace: Backtrace,
},
RowNumberOutOfRange {
number: u32,
min: u32,
max: u32,
backtrace: Backtrace,
},
AngleOutOfRange {
angle: i16,
min: i16,
max: i16,
backtrace: Backtrace,
},
FontSizeOutOfRange {
size: f64,
min: f64,
max: f64,
backtrace: Backtrace,
},
OutlineLevelOutOfRange {
min: u8,
max: u8,
level: u8,
backtrace: Backtrace,
},
FromUtf8 {
source: FromUtf8Error,
backtrace: Backtrace,
},
CustomPropertyNameLengthOutOfRange {
name: String,
size: usize,
min: usize,
max: usize,
backtrace: Backtrace,
},
CustomPropertyStringValueLengthOutOfRange {
value: String,
size: usize,
min: usize,
max: usize,
backtrace: Backtrace,
},
ParseCellError {
string: String,
backtrace: Backtrace,
},
ParseColError {
string: String,
backtrace: Backtrace,
},
}
Variants§
SheetNameAlreadyInUse
MaxStringLengthExceeded
InvalidColumnRangeOrdering
InvalidRowRangeOrdering
XmlWrite
Zip
Io
ColNumberOutOfRange
RowNumberOutOfRange
AngleOutOfRange
FontSizeOutOfRange
OutlineLevelOutOfRange
FromUtf8
CustomPropertyNameLengthOutOfRange
CustomPropertyStringValueLengthOutOfRange
ParseCellError
ParseColError
Trait Implementations§
Source§impl Error for Error
impl Error for Error
Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§fn cause(&self) -> Option<&dyn Error>
fn cause(&self) -> Option<&dyn Error>
👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
Auto Trait Implementations§
impl Freeze for Error
impl !RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl !UnwindSafe for Error
Blanket Implementations§
Source§impl<T> AsErrorSource for Twhere
T: Error + 'static,
impl<T> AsErrorSource for Twhere
T: Error + 'static,
Source§fn as_error_source(&self) -> &(dyn Error + 'static)
fn as_error_source(&self) -> &(dyn Error + 'static)
For maximum effectiveness, this needs to be called as a method
to benefit from Rust’s automatic dereferencing of method
receivers.
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