Expand description
Backend-neutral object-store trait shared by the S3 and Azure Blob implementations.
The trait, value types, and in-memory mock live here; the concrete S3 and Azure backends are in the sibling modules.
Trait dispatch is intended for Arc<dyn ObjectStore> so the
protocol REPL can drive either backend without monomorphisation.
Async methods are routed through async_trait so
dyn ObjectStore + Send + Sync composes cleanly — native
async fn-in-trait would require per-method Send bounds that
don’t survive dyn.
Re-exports§
pub use self::error::BoxError;pub use self::error::ObjectStoreError;
Modules§
- azure
- Azure Blob Storage backend for the
ObjectStoretrait. - error
- Shared error type for every
ObjectStoreimplementation. - s3
- S3 backend for the
ObjectStoretrait.
Structs§
- GetOpts
- Optional
get_to_fileknobs. - Object
Meta - Metadata returned by
listandhead. - Progress
Sink - Progress callback invoked by streaming put/get operations.
- PutOpts
- Optional
put_bytes/put_pathknobs.
Traits§
- Object
Store - Backend-neutral cloud object-store surface.