Skip to main content

Module messages

Module messages 

Source
Expand description

HDF5 object header message parsing.

Each object header contains a sequence of messages identified by a 16-bit type ID. This module dispatches to type-specific parsers and collects the results into HdfMessage variants.

Re-exports§

pub use dataspace::DataspaceMessage;
pub use datatype::Datatype;

Modules§

attribute
HDF5 Attribute message (type 0x000C).
attribute_info
HDF5 Attribute Info message (type 0x0015).
btree_k
HDF5 B-tree ‘K’ Values message (type 0x0013).
continuation
HDF5 Header Continuation message (type 0x0010).
dataspace
HDF5 Dataspace message (type 0x0001).
datatype
HDF5 Datatype message (type 0x0003).
external_files
HDF5 External Data Files message (type 0x0007).
fill_value
HDF5 Fill Value messages.
filter_pipeline
HDF5 Filter Pipeline message (type 0x000B).
group_info
HDF5 Group Info message (type 0x000A).
layout
HDF5 Data Layout message (type 0x0008).
link
HDF5 Link message (type 0x0006).
link_info
HDF5 Link Info message (type 0x002A / 0x000A depending on spec version).
modification_time
HDF5 Modification Time messages.
shared
HDF5 Shared Message (Phase 2 stub).
symbol_table_msg
HDF5 Symbol Table message (type 0x0011).

Enums§

HdfMessage
A parsed HDF5 header message.

Constants§

MSG_ATTRIBUTE
Attribute message.
MSG_ATTRIBUTE_INFO
Attribute info message.
MSG_BOGUS
Bogus message (testing only, should never appear).
MSG_BTREE_K
B-tree ‘K’ values message.
MSG_COMMENT
Object comment message.
MSG_CONTINUATION
Object header continuation message.
MSG_DATASPACE
Dataspace message.
MSG_DATATYPE
Datatype message.
MSG_DATA_LAYOUT
Data layout message.
MSG_DRIVER_INFO
Driver info message.
MSG_EXTERNAL_FILES
External data files message.
MSG_FILE_SPACE_INFO
File space info message (v2).
MSG_FILL_VALUE
Fill value message.
MSG_FILL_VALUE_OLD
Old fill value message (deprecated).
MSG_FILTER_PIPELINE
Filter pipeline message.
MSG_GROUP_INFO
Group info message (v2 groups).
MSG_LINK
Link message (v2 groups).
MSG_LINK_INFO
Link info message (v2 groups).
MSG_MODIFICATION_TIME
Modification time message.
MSG_MODIFICATION_TIME_OLD
Old modification time message (deprecated).
MSG_NIL
NIL message — padding in the header.
MSG_REFERENCE_COUNT
Object reference count message.
MSG_SHARED_TABLE
Shared message table message.
MSG_SYMBOL_TABLE
Symbol table message (v1 groups).

Functions§

message_type_name
Returns a human-readable name for a message type ID.
parse_message
Parse a single header message given its type ID, size, and a cursor positioned at the start of the message payload.