pub enum WorkbookError {
Io(Error),
ZipError(ZipError),
SheetError(WorkSheetError),
FileNotFound,
RelationshipError(RelationshipError),
}
Variants§
Io(Error)
ZipError(ZipError)
SheetError(WorkSheetError)
FileNotFound
RelationshipError(RelationshipError)
Trait Implementations§
Source§impl Debug for WorkbookError
impl Debug for WorkbookError
Source§impl Display for WorkbookError
impl Display for WorkbookError
Source§impl Error for WorkbookError
impl Error for WorkbookError
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 WorkbookError
impl From<Error> for WorkbookError
Source§fn from(err: Error) -> WorkbookError
fn from(err: Error) -> WorkbookError
Converts to this type from the input type.
Source§impl From<WorkSheetError> for WorkbookError
impl From<WorkSheetError> for WorkbookError
Source§fn from(err: WorkSheetError) -> WorkbookError
fn from(err: WorkSheetError) -> WorkbookError
Converts to this type from the input type.
Source§impl From<ZipError> for WorkbookError
impl From<ZipError> for WorkbookError
Source§fn from(err: ZipError) -> WorkbookError
fn from(err: ZipError) -> WorkbookError
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for WorkbookError
impl !RefUnwindSafe for WorkbookError
impl Send for WorkbookError
impl Sync for WorkbookError
impl Unpin for WorkbookError
impl !UnwindSafe for WorkbookError
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