InvalidFileFormatException
概述
InvalidFileFormatException 是 Aspose.Cells Rust 的 FOSS 中的结构体。继承自:Debug、Default、Clone,以及另外 4 个。
表示在文件格式无效时出现的错误。
此结构体为 Rust 程序中的 InvalidFileFormatException 对象声明了 4 个方法。可用的方法包括:fmt、from、new、with_inner。在安装 Aspose.Cells Rust 的 FOSS 包后,公共成员对任何 Rust 应用程序均可访问。字段:inner_message、message。
字段
| 名称 | 类型 | 访问 | 描述 |
|---|---|---|---|
message | String | 读写 | 获取消息。 |
inner_message | Option<String> | 读写 | 获取内部消息。 |
方法
| 签名 | 描述 |
|---|---|
new(message: impl Into<String>) → Self | 初始化一个新实例。 |
with_inner(message: impl Into<String>, inner_message: impl Into<String>) → Self | 使用主消息和内部消息初始化一个新实例。 |
fmt(f: &mut Formatter<'_>) → std::fmt::Result | 在此 InvalidFileFormatException 实例上调用 fmt(f)。 |
from(value: CellsError) → Self | 在此 InvalidFileFormatException 实例上调用 from(value)。 |