bookclerk_storage::s3_guest

Development These docs follow the development version and change with every merge.

Last updated View as Markdown

A storage guest's Destination capability over an object store.

The s3 and r2 destination plugins store through an S3Backend and the b2 plugin through a B2Backend (each built its own way: endpoint, credentials, change feed). They answer the plugin ABI the same way: streamed writes with optional conditions, staged writes committed by token, and the intent operations through crate::guest.

Structs

ObjectStoreDestination

pub struct ObjectStoreDestination<B> {
    /* private fields */
}

The Destination capability of an object-store guest.

ObjectStoreDestination::new

pub fn new(backend: B) -> Self

Serves backend as a destination.

Implements: Destination

Generated from crates/bookclerk-storage at main · View as Markdown