CellsError

概述

CellsError 是 Aspose.Cells 为 Rust 提供的 FOSS 中的枚举。继承自:Debug、Clone、PartialEq,以及另一个。

CellsError 实现了 fmt 用于格式化,并提供了转换为特定异常类型(如 to_cells_exception())的方法。

此枚举为 Rust 程序中的 CellsError 对象声明了 9 个方法。可用的方法包括: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 为 Rust 提供的 FOSS 包后,公共成员对任何 Rust 应用程序均可访问。

值

值描述
SheetNotFound
WorksheetIndexOutOfRange
InvalidSheetName
InvalidZoom
InvalidCellReference
InvalidInput
IndexOutOfRange
Io
OverlappingMergedRange
Unsupported

方法

签名描述
fmt(f: &mut Formatter<'_>) → std::fmt::Result在此 CellsError 实例上调用 fmt(f)。
csharp_exception_type_name() → &'static str在此 CellsError 实例上调用 csharp_exception_type_name。
to_cells_exception() → CellsException在此 CellsError 实例上调用 to_cells_exception。
to_workbook_load_exception() → WorkbookLoadException在此 CellsError 实例上调用 to_workbook_load_exception。
to_workbook_save_exception() → WorkbookSaveException在此 CellsError 实例上调用 to_workbook_save_exception。
to_invalid_file_format_exception() → InvalidFileFormatException在此 CellsError 实例上调用 to_invalid_file_format_exception。
to_formula_exception() → FormulaException在此 CellsError 实例上调用 to_formula_exception。
to_style_exception() → StyleException在此 CellsError 实例上调用 to_style_exception。
to_unsupported_feature_exception() → UnsupportedFeatureException在此 CellsError 实例上调用 to_unsupported_feature_exception。

另请参阅

 中文