pub enum AllocTime {
Early,
Late,
Incr,
}Expand description
When a dataset’s raw-data storage is allocated —
H5Pset_alloc_time/H5Pget_alloc_time’s H5D_alloc_time_t, read back
from the same fill-value message FillTime is.
H5P__set_layout (H5Pdcpl.c) picks this from the dataset’s storage
class (H5D_ALLOC_TIME_DEFAULT per layout — compact is Early,
chunked and virtual are Incr, contiguous is Late). The one override
this crate’s builder offers is DatasetBuilder::early_allocation,
which a chunked dataset reads back as Early where the writer took it
up: an implicit index, or a single unfiltered chunk.
H5Dataset::alloc_time reads back what the writer declared.
Variants§
Early
Space is allocated as soon as the dataset is created.
Late
Space is allocated when data is first written.
Incr
Space is allocated incrementally, as chunks (or virtual source datasets) are written.