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 صدا می‌زند.

همچنین ببینید:

 فارسی