Skip to main content

Crate zarrs_data_type

Crate zarrs_data_type 

Source
Expand description

The data type API for the zarrs crate.

§Licence

zarrs_data_type is licensed under either of

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Modules§

codec_traits
Codec data type traits.

Macros§

define_data_type_support
Define codec support infrastructure for a data type extension codec.
register_data_type_extension_codec
Register a data type with a codec’s DataTypePlugin.

Structs§

DataType
A data type implementing DataTypeTraits.
DataTypeFillValueError
A data type and fill value incompatibility error.
DataTypeFillValueMetadataError
A data type and fill value metadata incompatibility error.
DataTypePluginV2
A Zarr V2 data type plugin.
DataTypePluginV3
A Zarr V3 data type plugin.
FillValue
A fill value.
OptionalDataType
The optional data type.

Enums§

DataTypeCodecError
A data type error associated with codec incompatibility, or encode/decode failure.

Statics§

DATA_TYPE_RUNTIME_REGISTRY_V2
Global runtime registry for V2 data type plugins.
DATA_TYPE_RUNTIME_REGISTRY_V3
Global runtime registry for V3 data type plugins.

Traits§

DataTypeTraits
Traits for a data type extension.
DataTypeTraitsV2
Trait for creating a data type from Zarr V2 metadata.
DataTypeTraitsV3
Trait for creating a data type from Zarr V3 metadata.

Functions§

register_data_type_v2
Register a V2 data type plugin at runtime.
register_data_type_v3
Register a V3 data type plugin at runtime.
unregister_data_type_v2
Unregister a runtime V2 data type plugin.
unregister_data_type_v3
Unregister a runtime V3 data type plugin.

Type Aliases§

DataTypeRuntimePluginV2
A runtime V2 data type plugin for dynamic registration.
DataTypeRuntimePluginV3
A runtime V3 data type plugin for dynamic registration.
DataTypeRuntimeRegistryHandleV2
A handle to a registered V2 data type plugin.
DataTypeRuntimeRegistryHandleV3
A handle to a registered V3 data type plugin.