CellsError
CellsError
نمای کلی
CellsError یک enum در Aspose.Cells FOSS برای Rust است. ارثبرده از: Debug، Clone، PartialEq و 1 مورد دیگر.
CellsError پیادهسازی fmt برای قالببندی میکند و روشهای تبدیل به انواع استثنای خاص مانند to_cells_exception() را فراهم میآورد.
این enum 9 متد برای اشیای CellsError در برنامههای Rust اعلان میکند. متدهای موجود شامل: csharp_exception_type_name، fmt، to_cells_exception، to_formula_exception، to_invalid_file_format_exception، to_style_exception، to_unsupported_feature_exception، to_workbook_load_exception، to_workbook_save_exception هستند. اعضای عمومی پس از نصب بسته Aspose.Cells FOSS برای Rust، برای هر برنامه Rust در دسترس هستند.
مقادیر
| مقدار | توضیح |
|---|---|
SheetNotFound | |
WorksheetIndexOutOfRange | |
InvalidSheetName | |
InvalidZoom | |
InvalidCellReference | |
InvalidInput | |
IndexOutOfRange | |
Io | |
OverlappingMergedRange | |
Unsupported |
روش ها
| امضا | توضیح |
|---|---|
fmt(f: &mut Formatter<'_>) → std::fmt::Result | متد fmt(f) را بر روی این نمونه CellsError فراخوانی میکند. |
csharp_exception_type_name() → &'static str | متد csharp_exception_type_name را بر روی این نمونه CellsError فراخوانی میکند. |
to_cells_exception() → CellsException | در این نمونهٔ CellsError، to_cells_exception فراخوانی میشود. |
to_workbook_load_exception() → WorkbookLoadException | در این نمونهٔ CellsError، to_workbook_load_exception فراخوانی میشود. |
to_workbook_save_exception() → WorkbookSaveException | متد to_workbook_save_exception را بر روی این نمونه CellsError صدا میزند. |
to_invalid_file_format_exception() → InvalidFileFormatException | متد to_invalid_file_format_exception را بر روی این نمونه CellsError صدا میزند. |
to_formula_exception() → FormulaException | متد to_formula_exception را بر روی این نمونه CellsError صدا میزند. |
to_style_exception() → StyleException | متد to_style_exception را بر روی این نمونه CellsError صدا میزند. |
to_unsupported_feature_exception() → UnsupportedFeatureException | متد to_unsupported_feature_exception را بر روی این نمونه CellsError صدا میزند. |