Rust

object_store

Module

An object store on a JetStream stream (OBJ_<bucket>): objects split into chunks, with a meta record per name.

Contents

use utopia_nats::object_store::ObjectMeta;
Rust
pub struct ObjectMeta

An object's meta record.

use utopia_nats::object_store::ObjectStore;
Rust
pub struct ObjectStore

An object store bucket.

use utopia_nats::object_store::ObjectStoreConfig;
Rust
pub struct ObjectStoreConfig

A bucket's configuration.

Rust
pub type MetaCallback = Box<dyn FnMut(ObjectMeta) -> Result<(), CallbackError> + Send>

A callback receiving watched meta records.