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
Readinterface to a storage value. - Store
Key - A Zarr abstract store key.
- Store
KeyError - An invalid store key.
- Store
Keys Prefixes StoreKeysandStorePrefixes.- 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
AsyncReadableStorageTraitsandAsyncListableStorageTraits. - Async
Readable Storage Traits async - Async readable storage traits.
- Async
Readable Writable Listable Storage Traits async - A supertrait of
AsyncReadableWritableStorageTraitsandAsyncListableStorageTraits. - Async
Readable Writable Storage Traits async - A supertrait of
AsyncReadableStorageTraitsandAsyncWritableStorageTraits. - Async
Writable Storage Traits async - Async writable storage traits.
- Listable
Storage Traits - Listable storage traits.
- Maybe
Send - A marker trait that enforces
Sendonly on native platforms. - Maybe
Send Offset Bytes Iterator - This trait combines
Iterator<Item = (Bytes, ByteOffset)>andMaybeSend, as they cannot be combined together directly in function signatures. - Maybe
Sync - A marker trait that enforces
Synconly on native platforms. - Readable
Listable Storage Traits - A supertrait of
ReadableStorageTraitsandListableStorageTraits. - Readable
Storage Traits - Readable storage traits.
- Readable
Writable Listable Storage Traits - A supertrait of
ReadableWritableStorageTraitsandListableStorageTraits. - Readable
Writable Storage Traits - A supertrait of
ReadableStorageTraitsandWritableStorageTraits. - Writable
Storage Traits - Writable storage traits.
Functions§
- async_
discover_ children async - Asynchronously discover the children of a store prefix.
- async_
store_ set_ partial_ many async - Set partial values for an asynchronous store.
- discover_
children - Discover the children of a store prefix.
- store_
set_ partial_ many - Set partial values for a store.
Type Aliases§
- Async
Listable Storage async Arcwrapped asynchronous listable storage.- Async
Maybe Bytes Iterator async - An asynchronous iterator of
Byteswhich may beNoneindicating the bytes are not present. - Async
Readable Listable Storage async Arcwrapped asynchronous readable and listable storage.- Async
Readable Storage async Arcwrapped asynchronous readable storage.- Async
Readable Writable Listable Storage async Arcwrapped asynchronous readable, writable and listable storage.- Async
Readable Writable Storage async Arcwrapped asynchronous readable and writable storage.- Async
Writable Storage async Arcwrapped asynchronous writable storage.- Bytes
- The type for bytes used in synchronous store set and get methods.
- Listable
Storage Arcwrapped listable storage.- Maybe
Bytes - An alias for bytes which may or may not be available.
- Maybe
Bytes Iterator - An iterator of
Byteswhich may beNoneindicating the bytes are not present. - Offset
Bytes Iterator - A
BytesandByteOffsetiterator. - Readable
Listable Storage Arcwrapped readable and listable storage.- Readable
Storage Arcwrapped readable storage.- Readable
Writable Listable Storage Arcwrapped readable, writable, and listable storage.- Readable
Writable Storage Arcwrapped readable and writable storage.- Store
Keys - A list of
StoreKey. - Store
Prefixes - A list of
StorePrefix. - Writable
Storage Arcwrapped writable storage.