Expand description
§Omnia WASI Blobstore
This crate provides the Blobstore interface for the Omnia runtime.
§Interface
Implements the wasi:blobstore WIT interface.
§Backend
- Default: In-memory implementation. Data is not persisted across restarts.
§Usage
Add this crate to your Cargo.toml and use it in your runtime configuration:
ⓘ
use omnia::runtime;
use omnia_wasi_blobstore::BlobstoreDefault;
omnia::runtime!({
"blobstore": BlobstoreDefault,
});§License
MIT OR Apache-2.0
§WASI Blobstore Service
This module implements a runtime service for wasi:blobstore
(https://github.com/WebAssembly/wasi-blobstore).
Modules§
- default_
impl - Default in-memory implementation for wasi-blobstore
Macros§
- omnia_
wasi_ view - Implementation of the
WasiBlobstoreViewtrait for the store context.
Structs§
- Blobstore
Default - Default implementation for
wasi:blobstore. - Container
Proxy - Proxy for a blobstore container.
- Outgoing
Value - Outgoing value for a blobstore operation.
- Stream
Object Names - Stream of object names with position tracking for paginated reads.
- Wasi
Blobstore - Host-side service for
wasi:blobstore. - Wasi
Blobstore CtxView - View into
WasiBlobstoreCtximplementation andResourceTable.
Traits§
- Container
- Providers implement the
Containertrait to allow the host to interact with different backend containers. - Wasi
Blobstore Ctx - A trait which provides internal WASI Blobstore context.
- Wasi
Blobstore View - A trait which provides internal WASI Blobstore state.
Type Aliases§
- Container
Metadata - Error
- Future
Result - Result type for asynchronous operations.
- Incoming
Value - Incoming value for a blobstore operation.
- Object
Metadata - Result
- Result type for blobstore operations.