Weave documentation
Rust referencestrand-vault

strand-vault · crate

Source declarations, signatures and documentation for crate.

Reviewed implementation boundary: Vault construction does not automatically replay WAL entries. Snapshotting is a best-effort directory copy; replication mode/live settings are not implemented as runtime controls, and the capability preamble is not ACT authorization verification. See /libraries/strand-vault/overview.

Source: sigil/weave/libs/strand-vault/src/lib.rs. SHA-256: 5e04ab4d6628a557803b69f86c48bb94cfde571e3f2be6d46ec8e2cc346edefd.

This reference follows declared source modules, retains conditional attributes, and includes public declarations and implementation methods. Private-module re-exports and trait resolution require the compiler; this is a source reference, not a claim that every listed item is a root import. Function bodies and constant values are omitted.

config

strand-vault

A factory for managing collections of Strand instances with namespace isolation, key derivation, and efficient storage management with integrated L1feOS ownership tracking.

Features

  • Agent-based namespace isolation
  • Key derivation for deterministic strand creation
  • Multiple storage backends (filesystem, memory)
  • Integrated DID-based access control
  • Efficient caching and resource management
  • Replication support for multiple strands

See README.md for an end-to-end async example.

pub mod config;

Source line: 17.

fsck

pub mod fsck;

Source line: 19.

permissions

pub mod permissions;

Source line: 20.

policy

pub mod policy;

Source line: 21.

snapshot

pub mod snapshot;

Source line: 23.

storage

pub mod storage;

Source line: 24.

vault

pub mod vault;

Source line: 25.

wal

pub mod wal;

Source line: 26.

pub use config::{CreateOptions, VaultConfig};

pub use config::{CreateOptions, VaultConfig};

Source line: 28.

pub use error::{Result, VaultError};

pub use error::{Result, VaultError};

Source line: 29.

pub use permissions::{AgentPermissions, Permission};

pub use permissions::{AgentPermissions, Permission};

Source line: 30.

pub use replication::{ReplicationMode, ReplicationOptions, ReplicationStream};

pub use replication::{ReplicationMode, ReplicationOptions, ReplicationStream};

Source line: 31.

pub use storage::{MetadataStorage, Storage, StorageFactory, StrandStorage};

pub use storage::{MetadataStorage, Storage, StorageFactory, StrandStorage};

Source line: 32.

pub use storage::{NoopStoragePool, PooledStrandStorage, StoragePool, StoragePoolStats};

pub use storage::{NoopStoragePool, PooledStrandStorage, StoragePool, StoragePoolStats};

Source line: 33.

pub use vault::{SessionHandle, SessionMode, StrandId, StrandVault};

pub use vault::{SessionHandle, SessionMode, StrandId, StrandVault};

Source line: 34.

pub use strand::{Config as StrandConfig, Strand};

pub use strand::{Config as StrandConfig, Strand};

Source line: 37.

::StrandVault::telemetry_counters

Get counters for basic telemetry (subset)

pub fn telemetry_counters(&self) -> (u64, u64, u64, u64);

Source line: 42.

On this page