Skip to main content

Module backend

Module backend 

Source
Expand description

Storage backends for alimentar.

Backends provide abstracted storage operations for datasets and registries. The StorageBackend trait defines the interface, with implementations for local filesystem, S3-compatible storage, and in-memory storage.

Re-exports§

pub use http::HttpBackend;
pub use http::RangeHttpBackend;
pub use local::LocalBackend;
pub use memory::MemoryBackend;
pub use s3::CredentialSource;
pub use s3::S3Backend;

Modules§

http
HTTP/HTTPS storage backend (read-only).
local
Local filesystem storage backend.
memory
In-memory storage backend.
s3
S3-compatible storage backend.

Enums§

BackendConfig
Configuration for storage backends.

Traits§

StorageBackend
A storage backend for reading and writing data.

Functions§

create_backend
Creates a storage backend from configuration.