Expand description
BlobMeta storage, used to assemble blobs from more granular Chunks.
Modulesยง
- blob_
meta ๐ - blob_
reader ๐ - blob_
writer ๐ - combinators
- Combinators that compose multiple BlobStore implementations.
- grpc
- A gRPC client implementation.
- memory
- In-memory implementation, using a
HashMap. - mock_
writer ๐mocks - A super::Writer that can be used for tests
- object_
store - Object-store backend, also supporting the local filesystem.
Structsยง
- Blob
Meta - Describes information to assemble a Blob.
- Blob
Writer - Writes bytes to a ChunkStore, returning the BlobMeta and B3Digest on close.
- Error
- Error returned from all BlobStores.
- Mock
Writer mocks - Implements super::Writer and panics if the expected data wasnโt written on close.
Enumsยง
- Blob
Reader - A reader for one Blob.
Traitsยง
- Blob
Store - Retrieves and stores BlobMeta about Blobs. Blobs can consist of multiple Chunks. Blobs are keyed by the BLAKE3 digest of their entire data.
- Limit
Blob Reader - Limited reads from a blob (starting from offset, up to size)
- Reader
- BlobReader is a tokio::io::AsyncRead that also allows seeking.
- Writer
- A tokio::io::AsyncWrite that the user needs to close() afterwards to persist. On success, it returns the digest of the written blob.
Functionsยง
- register_
blob_ ๐stores - Registers the builtin BlobStores with the registry.