#[non_exhaustive]pub enum MajorErrorCode {
Show 42 variants
Args,
Attr,
BTree,
Cache,
Context,
Dataset,
Dataspace,
Datatype,
ErrorApi,
EventSet,
ExtensibleArray,
ExternalFileList,
File,
FixedArray,
FreeSpace,
Func,
Heap,
Id,
Internal,
Io,
Lib,
Link,
Map,
NoneMajor,
ObjectHeader,
PageBuffering,
Pipeline,
Plugin,
PropertyList,
RTree,
RefCountedString,
Reference,
Resource,
SharedObjectHeaderMessage,
SkipList,
Storage,
SymbolTable,
TernarySearchTree,
Threadsafety,
VirtualFileLayer,
VirtualObjectLayer,
Other(hid_t),
}Expand description
The major error code of an HDF5 error frame.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Args
H5E_ARGS: Invalid arguments to routine
Attr
H5E_ATTR: Attribute
BTree
H5E_BTREE: B-Tree node
Cache
H5E_CACHE: Object cache
Context
H5E_CONTEXT: API Context
Dataset
H5E_DATASET: Dataset
Dataspace
H5E_DATASPACE: Dataspace
Datatype
H5E_DATATYPE: Datatype
ErrorApi
H5E_ERROR: Error API
EventSet
H5E_EVENTSET: Event Set
ExtensibleArray
H5E_EARRAY: Extensible Array
ExternalFileList
H5E_EFL: External file list
File
H5E_FILE: File accessibility
FixedArray
H5E_FARRAY: Fixed Array
FreeSpace
H5E_FSPACE: Free Space Manager
Func
H5E_FUNC: Function entry/exit
Heap
H5E_HEAP: Heap
Id
H5E_ID (H5E_ATOM in older HDF5): Object ID
Internal
H5E_INTERNAL: Internal error (too specific to document in detail)
Io
H5E_IO: Low-level I/O
Lib
H5E_LIB: General library infrastructure
Link
H5E_LINK: Links
Map
H5E_MAP: Map
NoneMajor
H5E_NONE_MAJOR: No error
ObjectHeader
H5E_OHDR: Object header
PageBuffering
H5E_PAGEBUF: Page Buffering
Pipeline
H5E_PLINE: Data filters
Plugin
H5E_PLUGIN: Plugin for dynamically loaded library
PropertyList
H5E_PLIST: Property lists
RTree
H5E_RTREE: R-Tree spatial index
RefCountedString
H5E_RS: Reference Counted Strings
Reference
H5E_REFERENCE: References
Resource
H5E_RESOURCE: Resource unavailable
H5E_SOHM: Shared Object Header Messages
SkipList
H5E_SLIST: Skip Lists
Storage
H5E_STORAGE: Data storage
SymbolTable
H5E_SYM: Symbol table
TernarySearchTree
H5E_TST: Ternary Search Trees
Threadsafety
H5E_THREADSAFE: Threadsafety
VirtualFileLayer
H5E_VFL: Virtual File Layer
VirtualObjectLayer
H5E_VOL: Virtual Object Layer
Other(hid_t)
A code reported by HDF5 that this crate does not know.
The raw message id is only valid for the lifetime of the process.
Implementations§
Source§impl MajorErrorCode
impl MajorErrorCode
Trait Implementations§
Source§impl Clone for MajorErrorCode
impl Clone for MajorErrorCode
Source§fn clone(&self) -> MajorErrorCode
fn clone(&self) -> MajorErrorCode
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more