Skip to main content

Module object_store

Module object_store 

Source
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 ObjectStore trait.
error
Shared error type for every ObjectStore implementation.
s3
S3 backend for the ObjectStore trait.

Structs§

GetOpts
Optional get_to_file knobs.
ObjectMeta
Metadata returned by list and head.
ProgressSink
Progress callback invoked by streaming put/get operations.
PutOpts
Optional put_bytes / put_path knobs.

Traits§

ObjectStore
Backend-neutral cloud object-store surface.