pub enum HDF5Error {
}Expand description
Recoverable HDF5 failure. Public variants listed in the build spec are stable; additional variants describe truncated or malformed files.
Variants§
InvalidSignature
Bytes at the superblock location are not crate::HDF5_SIGNATURE.
UnsupportedVersion(u8)
Superblock or object-header version this crate does not read.
ChunkedNotSupported
Chunk index this crate does not walk (paged extensible-array blocks, or an index kind outside single / implicit / fixed / extensible / B-tree v1 / v2).
FilteredNotSupported
Filter this crate does not decode (SZIP, floating-point scale-offset, n-bit array/compound, or an unknown filter id).
UnsupportedDtype
Datatype cannot be written back (compound, big-endian, …).
NotFound(String)
No object at path.
ShapeMismatch
Append rank or trailing dimensions do not match the existing dataset.
Truncated
File ended before a field was complete.
InvalidHeader
A header, checksum, or message failed validation.
RankNotSupported
Dataspace rank is greater than crate::HDF5_MAX_DIMS (HDF5 format max is 32).
TypeMismatch
Dataset datatype cannot satisfy the requested read (e.g. read_f64 on F32).
DenseGroupsNotSupported
Group stores links in a fractal heap / dense index.
NameTooLong
Link or attribute name exceeds crate::HDF5_MAX_NAME_LEN.
Io(String)
I/O error from std::fs (feature std).
Trait Implementations§
impl Eq for HDF5Error
Source§impl Error for HDF5Error
Available on crate feature std only.
impl Error for HDF5Error
std only.1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
use the Display impl or to_string()