InvalidFileFormatException

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。

字段

名称类型访问描述
messageString读写获取消息。
inner_messageOption<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)。

另请参阅

 中文