Expand description
The storage API for the zarrs
crate.
A Zarr store is a system that can be used to store and retrieve data from a Zarr hierarchy. For example: a filesystem, HTTP server, FTP server, Amazon S3 bucket, ZIP file, etc. The Zarr V3 storage API is detailed here: https://zarr-specs.readthedocs.io/en/latest/v3/core/v3.0.html#storage.
This crate includes an in-memory store implementation. See zarrs
storage support for a list of stores that implement the zarrs_storage
API.
§Licence
zarrs_storage
is licensed under either of
- the Apache License, Version 2.0 LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0 or
- the MIT license LICENSE-MIT or http://opensource.org/licenses/MIT, at your option.
Modules§
- Byte ranges.
- Storage adapters.
- Zarr stores.
- store_
test tests
Store test utilities (for external store development).
Structs§
- A storage handle.
- Provides a
Read
interface to a storage value. - A Zarr abstract store key.
- An invalid store key.
- A
StoreKey
,ByteOffset
, and value (bytes). StoreKeys
andStorePrefixes
.- A Zarr abstract store prefix.
- An invalid store prefix.
Enums§
- A storage error.
Traits§
- Async listable storage traits.
- A supertrait of
AsyncReadableStorageTraits
andAsyncListableStorageTraits
. - Async readable storage traits.
- A supertrait of
AsyncReadableWritableStorageTraits
andAsyncListableStorageTraits
. - A supertrait of
AsyncReadableStorageTraits
andAsyncWritableStorageTraits
. - Async writable storage traits.
- Listable storage traits.
- A supertrait of
ReadableStorageTraits
andListableStorageTraits
. - Readable storage traits.
- A supertrait of
ReadableWritableStorageTraits
andListableStorageTraits
. - A supertrait of
ReadableStorageTraits
andWritableStorageTraits
. - Writable storage traits.
Functions§
- Asynchronously discover the children of a store prefix.
- Set partial values for an asynchronous store.
- Discover the children of a store prefix.
- Set partial values for a store.
Type Aliases§
- Async
Bytes async
The type for bytes used in asynchronous store set and get methods. - Async
Listable Storage async
Arc
wrapped asynchronous listable storage. Arc
wrapped asynchronous readable and listable storage.- Async
Readable Storage async
Arc
wrapped asynchronous readable storage. Arc
wrapped asynchronous readable, writable and listable storage.- Async
Writable Storage async
Arc
wrapped asynchronous writable storage. - The type for bytes used in synchronous store set and get methods.
Arc
wrapped listable storage.- Maybe
Async Bytes async
An alias for bytes which may or may not be available. - An alias for bytes which may or may not be available.
Arc
wrapped readable and listable storage.Arc
wrapped readable storage.Arc
wrapped readable, writable, and listable storage.Arc
wrapped readable and writable storage.- A list of
StoreKey
. - A list of
StorePrefix
. Arc
wrapped writable storage.