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/index.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_
range - Byte ranges.
- storage_
adapter - Storage adapters.
- store
- Zarr stores.
- store_
test tests
- Store test utilities (for external store development).
Structs§
- Storage
Handle - A storage handle.
- Storage
ValueIO - Provides a
Read
interface to a storage value. - Store
Key - A Zarr abstract store key.
- Store
KeyError - An invalid store key.
- Store
KeyOffset Value - A
StoreKey
,ByteOffset
, and value (bytes). - Store
KeyRange - A
StoreKey
andByteRange
. - Store
Keys Prefixes StoreKeys
andStorePrefixes
.- Store
Prefix - A Zarr abstract store prefix.
- Store
Prefix Error - An invalid store prefix.
Enums§
- Storage
Error - A storage error.
Traits§
- Async
Listable Storage Traits async
- Async listable storage traits.
- Async
Readable Listable Storage Traits async
- A supertrait of
AsyncReadableStorageTraits
andAsyncListableStorageTraits
. - Async
Readable Storage Traits async
- Async readable storage traits.
- Async
Readable Writable Listable Storage Traits async
- A supertrait of
AsyncReadableWritableStorageTraits
andAsyncListableStorageTraits
. - Async
Readable Writable Storage Traits async
- A supertrait of
AsyncReadableStorageTraits
andAsyncWritableStorageTraits
. - Async
Writable Storage Traits async
- Async writable storage traits.
- Listable
Storage Traits - Listable storage traits.
- Readable
Listable Storage Traits - A supertrait of
ReadableStorageTraits
andListableStorageTraits
. - Readable
Storage Traits - Readable storage traits.
- Readable
Writable Listable Storage Traits - A supertrait of
ReadableWritableStorageTraits
andListableStorageTraits
. - Readable
Writable Storage Traits - A supertrait of
ReadableStorageTraits
andWritableStorageTraits
. - Writable
Storage Traits - Writable storage traits.
Functions§
- async_
discover_ children async
- Asynchronously discover the children of a store prefix.
- async_
store_ set_ partial_ values async
- Set partial values for an asynchronous store.
- discover_
children - Discover the children of a store prefix.
- store_
set_ partial_ values - 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.- Async
Readable Listable Storage async
Arc
wrapped asynchronous readable and listable storage.- Async
Readable Storage async
Arc
wrapped asynchronous readable storage.- Async
Readable Writable Listable Storage async
Arc
wrapped asynchronous readable, writable and listable storage.- Async
Writable Storage async
Arc
wrapped asynchronous writable storage.- Bytes
- The type for bytes used in synchronous store set and get methods.
- Listable
Storage Arc
wrapped listable storage.- Maybe
Async Bytes async
- An alias for bytes which may or may not be available.
- Maybe
Bytes - An alias for bytes which may or may not be available.
- Readable
Listable Storage Arc
wrapped readable and listable storage.- Readable
Storage Arc
wrapped readable storage.- Readable
Writable Listable Storage Arc
wrapped readable, writable, and listable storage.- Readable
Writable Storage Arc
wrapped readable and writable storage.- Store
Keys - A list of
StoreKey
. - Store
Prefixes - A list of
StorePrefix
. - Writable
Storage Arc
wrapped writable storage.