#[non_exhaustive]pub enum MessageType {
Show 21 variants
Nil,
Dataspace,
LinkInfo,
Datatype,
FillValueOld,
FillValue,
Link,
ExternalDataFiles,
DataLayout,
GroupInfo,
FilterPipeline,
Attribute,
ObjectHeaderContinuation,
SymbolTable,
ObjectModificationTime,
BTreeKValues,
SharedMessageTable,
AttributeInfo,
ObjectReferenceCount,
FileSpaceInfo,
Unknown(u16),
}Expand description
An HDF5 object header message type, as carried by
Error::MissingMessage.
Every piece of an object’s metadata — its dataspace, its datatype, where its
data lives — is a message in its object header, identified by one of these.
A type this crate does not recognize is reported as Unknown
with its raw identifier rather than discarded.
#[non_exhaustive] because a type now reported as Unknown may later get a
name of its own, and that should not be a breaking change.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Nil
Dataspace
LinkInfo
Datatype
FillValueOld
FillValue
Link
ExternalDataFiles
External Data Files: the dataset’s elements live in files outside this
one (H5Pset_external). The message names them; this crate does not
follow them, and refuses to read such a dataset rather than answering the
fill value its address-less contiguous layout would otherwise imply.
DataLayout
GroupInfo
FilterPipeline
Attribute
ObjectHeaderContinuation
SymbolTable
ObjectModificationTime
BTreeKValues
AttributeInfo
ObjectReferenceCount
FileSpaceInfo
Unknown(u16)
Unknown message type with its raw type ID.
Implementations§
Source§impl MessageType
impl MessageType
Trait Implementations§
Source§impl Clone for MessageType
impl Clone for MessageType
Source§fn clone(&self) -> MessageType
fn clone(&self) -> MessageType
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more